Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/05/2012, 07:06
kindah
 
Fecha de Ingreso: agosto-2009
Ubicación: Buenos Aires
Mensajes: 13
Antigüedad: 14 años, 9 meses
Puntos: 0
Respuesta: Proteger formulario de script

$_POST['message'] = filter_var($_POST['message'],FILTER_SANITIZE_STRING);

Bueno, te dejo los links a la documentacion, porque el foro no me toma el bbcode url :S

http://www.php.net/manual/es/function.filter-var.php

http://www.php.net/manual/es/filter.filters.sanitize.php

Última edición por kindah; 24/05/2012 a las 08:33