Jump to content

[SOLVED] Checking to see if an actual image file exists in a certain directory?


gsaldutti

Recommended Posts

I just want to put some code on my page that checks to see if an actual file is in my images folder on my server. Let's say the file is called "monkeys.jpg" and is found in the path "...images/monkeys.jpg"

 

I just want to be able to say "If the file "monkeys.jpg" exists, then..."

 

How do I check that with PHP syntax?

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.