RE: How to Check Directory exist in Specific Folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Dear all
> 
> Does php have any script which can check if a directory exist 
> in specific
> folder?
> 
> Thx a lot
> 
> Jack

if (is_dir ("/path/to/your/folder") )
	echo "Dir exists";
else
	echo "Dir doesn't exist";

Regards
Joakim
-------------------------------------------------
This message contains information that may be privileged or confidential and
is the property of Cyber Com and may be exempt from disclosure under
applicable law. It is intended only for the person to whom it is addressed.
If you are not the intended recipient, you are not authorized to read,
print, retain, copy, disseminate, distribute, or use this message or any
part thereof. If you receive this message in error, please notify the sender
immediately and delete all copies of this message.
This agreement shall be governed by the law where the sender has its place
of business. 
Any attachment(s) to this e-mail has been checked for viruses, but please
rely on your own virus-checker and procedures.
-------------------------------------------------

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux