Posted by Bob Sanderson on 08/13/07 12:36
This is my code:
if (file_exists($Fname)) {
echo "<td>$Fname exists</td>";
} else {
echo "<td>$Fname does not exist</td>";
}
$Fname is the full path to the file I'm trying to verify. When I run the
script, I get the following output:
http://server1:8080/images/dwg_images/5005/5005001_.pdf does not exist
If I cut-and-paste the output path, the file is displayed, confirming that
the file does exist.
Am I doing something wrong? Any help will be greatly appreciated.
Navigation:
[Reply to this message]
|