Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/02/2002, 16:48
ecuajames
 
Fecha de Ingreso: febrero-2002
Mensajes: 5
Antigüedad: 22 años, 1 mes
Puntos: 0
problema en upload con $HTTP_POST_FILES

Ayuda porfavor:
El formulario utiliza post, y el nombre del input type="file" name="archivo"

Intenté asignar a una variable:

$origen = $HTTP_POST_FILES['archivo']['tmp_name'];

luego imprimo $origen y el resultado es:
\\php2

Entonces si intento realizar la sentencia:

$imagesize = GetImageSize ($HTTP_POST_FILES['archivo']['tmp_name']);

Recibo el siguiente mensaje:
Warning: Unable to open \\php2 in c:\control_acceso\upload.php on line 13


COMO LO SOLUCIONO?
GRACIAS.