this file is using php's file_exists() function to look at itself.
the function ONLY works correctly if a RELATIVE path for the filename is used!
if an absolute path is used, is ALWAYS reports the file doesn't exist!
good file is ".$g." and it exists? - ".$t;
if (file_exists($b)) $t="true"; else $t="false";
print "\n
bad file is ".$b." and it exists? - ".$t;
?>
here's the code used in this file:
fileexist.php
This system is running PHP 4.2.3, and Apache/1.3.23
and runs on (Red-Hat/Linux) PHP/4.2.3