Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/03/2011, 15:37
Avatar de VbOkonly
VbOkonly
 
Fecha de Ingreso: julio-2009
Ubicación: San Justo, Buenos Aires, Argentina
Mensajes: 490
Antigüedad: 14 años, 10 meses
Puntos: 5
Respuesta: Engañar al navegador para evitar reenvio de variables

Código PHP:
<?php if($_REQUEST['verificate'] == "ok"){
mysql_query('INSERT votos SET noticia_id = "'.$var.'"',$db);
$_REQUEST['verificate'] = "";
unset(
$_REQUEST['verificate']);
 } 
?>
Lo puse aca y me hace lo mismo que $_POST :P y me llena igual la db, nose porque no se destruye la variable ... voy a intentar cambiar el hidden del form, creo que esta ahi el problema, ahora te cuento!