VIC MX, utilice ese metodo, pero me dice esto:
Código PHP:
Warning: Cannot add header information - headers already sent by (output started at c:program fileseasyphpwwwmssubir.php:8) in c:program fileseasyphpwwwmssubir.php on line 104
y la linea 8 es esto:
Código PHP:
if(!$check){
setcookie("check","flood",time()+300);//Estos son 5 min.
}