Posted by Bob Sanderson on 08/10/07 19:30
Bob Sanderson <sandman@LUVSPAMsandmansoftware.com> wrote in
news:Xns99889CBC480Bcentroidincearthlink@69.28.186.158:
> I need to execute an IF statement based on whether or not a file
> exists in a given folder. If the file is in the folder, do A, if it's
> not, do B. Is there a PHP statement that will determine if the file
> exists?
>
> Any help will be greatly appreciated.
Thanks anyway, but I found it.
if (file_exists($filename))
[Back to original message]
|