hi!
how do i check if a directory exists or not in the server ...
when i do
if($d = opendir("/home/danny"))
{
echo "Diorectory Found";
}
else
{
echo "Directory not found";
}
it gives me a warning saying unable to open directory ... in place of "directory not found" ...
does any one know how do i make it to print .."Directory not found" message for me ...
thanks,
danny ....