|
Posted by Bob Bedford on 08/10/06 16:44
"moxmormor" <moxmormor@gmail.com> a ιcrit dans le message de news:
1155228023.747726.202260@b28g2000cwb.googlegroups.com...
>> You shouldn't user a path like this, instead use server variables in
>> order
>> to be sure:
>> change moxmormor_org/htdocs/hindenburg.gif
>> to $_SERVER['DOCUMENT_ROOT'].'/hindenburg.gif';
>>
>> also be very carefull, on Linux the filesystem is case sensitive, so
>> hindenburg.gif <> hindenburg.GIF
>> Bob
>
> Thank you, but it's still nonexistant. :(
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
Are you on linux or XP ?
Navigation:
[Reply to this message]
|