Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/01/2012, 08:32
Avatar de el_javi
el_javi
 
Fecha de Ingreso: marzo-2005
Ubicación: MAdrid
Mensajes: 844
Antigüedad: 19 años, 1 mes
Puntos: 10
Respuesta: Problema subiendo archivos Word

Aquí tenéis un código simple.

Código PHP:
<?php
    
echo("<pre>");
    
var_dump($_FILES);
    echo(
"</pre>");
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
    <title>Prueba de subida</title>
</head>

<body>

<form name="form1" method="post" action="<?php echo($_SERVER['REQUEST_URI']); ?>" enctype="multipart/form-data" onsubmit="return(LIB_PROTOS.validateAndSend())">
    <input type="file" name="files[]"><br><br>
        
    <input type="Submit" value="Subir">
</form>

</body>
</html>
El VAR_DUMP con un fichero PDF me saca toda la información del documento pero con un fichero WORD no me saca nada.

Espero vuestros comentarios.

Javier