Bug #12220 Updated: help

From: Date: Wed, 18 Jul 2001 05:37:07 +0000
Subject: Bug #12220 Updated: help
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60197@lists.php.net to get a copy of this message
ID: 12220 Updated by: zak Reported By: boo_d81@hotmail.com Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: windows 98 PHP Version: 4.0.6 New Comment: Sorry! This is *not* a support forum. Subscribe to the PHP General mailing list (php-general-subscribe@lists.php.net). Visit http://php.net/support.php for more information. Previous Comments: ------------------------------------------------------------------------ [2001-07-18 01:17:47] boo_d81@hotmail.com the problem is.... i want to check a directory ... 09 <? chdir("d:/temp") 10 $dir="username"; 11 if(is_dir($dir)) 12 { 13 //code 14 }else 15 {mkdir($dir,0700);} ?> php return a error...NO SUCH DIRECTORY OR FILE ON LINE 11 ... my goals is to check is there a directory name "username" if there are not a directory name "username" i want to create it ..can anybody help me how i can solve this problem thanx before that...... ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12220&edit=1

« previous php.dev (#60197) next »