browser and ip not allowed next 5 min after registration
Started on the old forum in June 2009 · view the original in the archive · old links redirect here
try something like this
$query = ("SELET* from chat_users WHERE ip='".$ipadd."', soft='".$browser."', rtime='".$registration_time_row_name."'");
if($query[2]=<300)
{
echo "Your are not allowed to register again with in 5 minutes.<br/>";
}else{
rest of code here
}
Nous Ne Dansos Pas, Nous Sommes Le Danse.!
showing : Parse error: syntax error, unexpected '<' this error
also i tried it but failed again :
if $ac=mysql_fetch_array(mysql_query("select * from chat_users where ip='".$ipadd."' and soft='".$browser."' and rtime='".$rtime."'")); if($rtime[0]=<60) { echo "Your are not allowed to register again with in 1 minute. "; }else{
registration rest code }
it also shows error