Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/06/2009, 14:24
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: Ayuda $_FILES ni $HTTP_POST_FILES no me devuelve datos

Código php:
Ver original
  1. if (!((strpos($tipo_archivo, "gif") || strpos($tipo_archivo, "jpeg")) && ($tamano_archivo < 5000000))) {

Tu variable $tipo_archivo trae el tipo MIME del archivo, ej: "image/jpeg" o "image/gif". Por eso siempre te muestra ese error.