Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/07/2009, 21:38
Avatar de Triby
Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 9 meses
Puntos: 2237
Respuesta: upload y variable global

No uses $HTTP_POST_FILES, mejor usa $_FILES

Los indices de la matriz $_FILES['archivo']:
tmp_name = Nombre (y ruta) del archivo temporal
name = Nombre real
type = Tipo de archivo (MIME Type)
size = tamaño del archivo
error = codigo de error (0=No hay error)

Mas info en el manual de PHP para subir archivos
__________________
- León, Guanajuato
- GV-Foto