Posted by moxmormor on 08/10/06 17:17
> try a echo $_SERVER['DOCUMENT_ROOT'].'/hindenburg.gif' to be sure, maybe
> your config root is wrong (pointing to the wrong file). Also to be sure, put
> everything in a var:
>
> $filename = $_SERVER['DOCUMENT_ROOT'].'/hindenburg.gif';
> echo $filename;
> if(file_exists($filename))
> echo 'file exists';
> else
> echo 'file doesnt exist';
>
> Bob
Pretty strange. Now the output is that the file is nonexistant, then
the full path, then that the file DOES exist.
>
> Are you on linux or XP ?
I'm on a Linux server I'm pretty sure. Since they are operating with
php. My PC is XP.
[Back to original message]
|