note 94878 added to function.mkdir

From: Date: Mon, 30 Nov 2009 16:45:09 +0000
Subject: note 94878 added to function.mkdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-163422@lists.php.net to get a copy of this message
I tried by singe quote '0777' and it did not work for me, then i removed singe quote and it was perfect. Incorrect :- $dirResult = @mkdir( $destPath, '0777' ); Correct :- $dirResult = @mkdir( $destPath, 0777 ); ---- Server IP: 192.41.40.227 Probable Submitter: 96.224.45.29 ---- Manual Page -- http://www.php.net/manual/en/function.mkdir.php Edit -- https://master.php.net/note/edit/94878 Del: integrated -- https://master.php.net/note/delete/94878/integrated Del: useless -- https://master.php.net/note/delete/94878/useless Del: bad code -- https://master.php.net/note/delete/94878/bad+code Del: spam -- https://master.php.net/note/delete/94878/spam Del: non-english -- https://master.php.net/note/delete/94878/non-english Del: in docs -- https://master.php.net/note/delete/94878/in+docs Del: other reasons-- https://master.php.net/note/delete/94878 Reject -- https://master.php.net/note/reject/94878 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#163422) next »