Jump to content

[resolved] Check if a file exists...


ibanez270dx

Recommended Posts

Hi,
How do I check if a file exists on my server? I am currently using an if($filename2) where the $filename2 is thename.xls (the files are located in the same directory). This doesn't seem to work... it just automatically goes to the statement afterward even if the file doesn't exist. Someone please help!

Thanks,
- Jeff
Link to comment
https://forums.phpfreaks.com/topic/17183-resolved-check-if-a-file-exists/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.