still getting the error....
any suggestions ?
Cris D., on 16 March 2010 - 08:18 AM, said:
Let us know how you go...
Posted 16 March 2010 - 09:37 PM
Wiper2007, on 16 March 2010 - 12:30 PM, said:
$hash=$_GET['hash'];
//stop hacking attempts
if(!preg_match('#^[a-f0-9]{32}$#i', $hash))
return $messages['error1'];
if(is_numeric($_GET['hash'])){
$hash=$_GET['hash'];
}else{
//someone is trying to inject GET values into the browser
return $messages['error1'];}
which is totaly wrong for an MD5 hash (beig letters and numbers).Posted 17 March 2010 - 10:20 PM
$hash=$_GET['hash'];
//stop hacking attempts
if(!preg_match('#^[a-f0-9]{32}$#i', $hash))
return $messages['error1'];
Cris D., on 16 March 2010 - 09:37 PM, said:
$hash=$_GET['hash'];
//stop hacking attempts
if(!preg_match('#^[a-f0-9]{32}$#i', $hash))
return $messages['error1'];
if(is_numeric($_GET['hash'])){
$hash=$_GET['hash'];
}else{
//someone is trying to inject GET values into the browser
return $messages['error1'];}
which is totaly wrong for an MD5 hash (beig letters and numbers).Posted 18 March 2010 - 09:49 AM
0 members, 1 guests, 0 anonymous users