|  | Posted by Bob Bedford on 08/10/06 17:52 
"moxmormor" <moxmormor@gmail.com> a ιcrit dans le message de news: 1155230244.606157.221710@m79g2000cwm.googlegroups.com...
 >> 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.
 Sorry I don't understand what you mean. What do you mean for output file ?
 the full path is OK, are you sure on case (Linux is case sensitive,
 remember), where the file DOES exists ?
 
 >> 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.
 PHP can run on XP too, but if it's a professional web hosting, probably it's
 on Linux.
 On your page I've this result:
 nonexistant/var/www/virtual/moxmormor.byethost11.com/moxmormor_org/htdocs/hindenburg.gifexistant
 why there is a nonexistant and then an existant ? Your code is called twice
 ?
 Could you send the entire code ? I'll check it for you.
 I found the moxmormor.byethost11.com in your address quite strange altrough.
 Bob
  Navigation: [Reply to this message] |