Re: Re: Still problem with file reading

From: Date: Fri, 05 Jan 2007 19:14:33 +0000
Subject: Re: Re: Still problem with file reading
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-246624@lists.php.net to get a copy of this message
Why don't you start by running file_exists() on another file in the same directory:
if (file_exists("./findMe.php"))
    echo "It's here";
then, directory by directory, move towards where you want the real file to be read. If a move fails, check permissions as already suggested ( and capitalization, also, if on a *nix system ). Once you can accomplish this, fopen() should work just fine. David

« previous php.general (#246624) next »