|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-18 01:37 UTC] zak@php.net
[2001-07-18 10:27 UTC] cynic@php.net
[2002-02-09 23:45 UTC] jimw@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 05:00:01 2025 UTC |
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......