From:             [EMAIL PROTECTED]
Operating system: windows 98
PHP version:      4.0.6
PHP Bug Type:     Unknown/Other Function
Bug description:  help

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 bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to