Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/08/2009, 05:39
albert1980
 
Fecha de Ingreso: julio-2009
Mensajes: 118
Antigüedad: 14 años, 9 meses
Puntos: 2
Respuesta: Problemas con input file

eso es seguramente porque tienes las magic quotes activadas

Prueba a poner este código al principio de tu página:



Código PHP:
<?php
if (get_magic_quotes_gpc())
{
        function 
strips(&$arr,$k="")
        {
            if (
is_array($arr)) 
            {
            foreach(
$arr as $k=>$v)
            {
            if (
strtoupper($k) != "GLOBALS"strips($arr["$k"]);}
            } 
            else 
            {
            
$arr stripslashes($arr);
            }
        }
    
strips($_POST);
}
?>