Is there a way to see if a directory exists?I tried opendir() but get an error when it doesn't find the directory.
Thanks
You can use the file_exists() function to check for directories as well.
http://www.php.net/manual/en/function.file-exists.php