if a dir exists

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
CrE3pZ
Forum Newbie
Posts: 6
Joined: Fri Dec 13, 2002 10:47 am

if a dir exists

Post by CrE3pZ »

last time i've learned how to see if a file exists, but now my next question:
How can one check if a dir exists?

Gr CrE3pZ
CrE3pZ
Forum Newbie
Posts: 6
Joined: Fri Dec 13, 2002 10:47 am

Post by CrE3pZ »

never mind, I was asking stupid questions...

Code: Select all

if (is_dir($images))
        {
etc...

thx aw
Post Reply