A
Anonymous
Guest
As far as PHP is concerned, a folder is just another file. So file_exists() should work fine, but if you want to make sure it's a directory, use is_dir().
I don't know that I'll ever forgive Apple for obfuscating the directory/folder concept. Of course, the folder model makes more sense, but I'm still bitter.
I don't know that I'll ever forgive Apple for obfuscating the directory/folder concept. Of course, the folder model makes more sense, but I'm still bitter.