Posted by David Gillen on 08/13/07 13:00
Bob Sanderson said:
> 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
>
In addition to Rik's comment are you sure you want to check the URL of the
file rather than the path on disk to the file, they are quite different.
D.
--
Fermat was right.
Navigation:
[Reply to this message]
|