try:
if(is_dir($dir)) { echo 'directory was found'; } Yoroshiku, Maxim Maletsky PHPBeginner.com Hiroshi Ayukawa writes: > Does anyone know how to check a directory exiasts? > > Thanks in advance, > Hiroshi Ayukawa > http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php