Re: file_exists($file)

From: Date: Thu, 31 Oct 2002 22:09:50 +0000
Subject: Re: file_exists($file)
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-28736@lists.php.net to get a copy of this message
Del manual "This function will not work on remote files; the file to be examined must be accessible via the server's filesystem." At 17:14 31/10/2002 -0300, you wrote:
Muchachos. Tengo un problema con el sig. Código. Tengo un archivo: $file=http://www.php.net/gifs/php_logo.gif; y quiero saber si realmente existe ese fichero. Entonces if (file_exists($file)){
    echo "El fichero existe";
}else{
    echo "El fichero no existe";
} El problema surge que el fichero si existe pero siempre me dice que no es así. Estamos todos locos? Un saludo Gabriel --------------------------------------------------------------------- Archivo On-line: http://www.phpes.com/
        via news: news://news.phpes.com/
Manual PHP en español: http://www.php.net/manual/es/ Para dar de baja la suscripción, mande un mensaje a: lista-unsubscribe@phpes.com
# And your pixel army can´t save you now -- # César Duque - error404 # error404@orangizer.com # PGP Key available at Keyserv

« previous php.general.es (#28736) next »