Page 1 of 1

if a dir exists

Posted: Mon Dec 16, 2002 7:45 am
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

Posted: Mon Dec 16, 2002 8:26 am
by CrE3pZ
never mind, I was asking stupid questions...

Code: Select all

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

thx aw