Ver Mensaje Individual
  #12 (permalink)  
Antiguo 13/03/2014, 17:38
JuanPhp
 
Fecha de Ingreso: marzo-2014
Mensajes: 8
Antigüedad: 10 años, 1 mes
Puntos: 1
Respuesta: file_exists de PHP no me funciona

pateketrueke acabo de probar lo de la ruta absoluta y no funciona asi esta

$fotoArticulo='imagenes/'.$matrizCLiente[0]["imagen"].'.jpg';

if(file_exists($_SERVER['DOCUMENT_ROOT'].$fotoArticulo))

$matrizCLiente[0]["imagen"] aqui esta guardado el valor=XOB-01