He hecho esto:
// First check if the ID is set and if it is valid (contains nothing but numbers)
$id=$_GET['id'];
if(empty($id) || ereg("^[0-9]",$id)) {die("Invalid ID, numbers (0-9) only!");}
//if(empty($id) || preg_match("/\D/",$id)) {die("Invalid ID, numbers (0-9) only!");}
Pero me sigue dando el mismo error:
Parse error: parse error, unexpected T_STRING in /data/members/paid/t/u/tutorialgames.net/htdocs/www/ccount/click.php on line 3
readme.htm
Puede ser algún espacio o caracter mal puesto ??