note 78035 added to function.mkdir

From: Date: Tue, 25 Sep 2007 04:47:37 +0000
Subject: note 78035 added to function.mkdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-130770@lists.php.net to get a copy of this message
Perhaps the commenting system is no longer being moderated, but why in the name of PHP Gods are people posting "recursion" functions?!?! Use the TRUE flag like mkdir("/path/to/my/dir", 0700, TRUE); .. so that the folders "path" and "to" and "my" get created on the fly if they don't exist already. PLEASE READ THIS MANUAL BEFORE POSTING!! If the proposed directory ends with a trailing slash and confuses Windows, then check the VARIABLE and change it, don't make convoluted functions that replicate a BUILT IN PHP FUNCTION!!! ---- Server IP: 69.147.83.197 Probable Submitter: 74.123.121.196 ---- Manual Page -- http://www.php.net/manual/en/function.mkdir.php Edit -- https://master.php.net/note/edit/78035 Del: integrated -- https://master.php.net/note/delete/78035/integrated Del: useless -- https://master.php.net/note/delete/78035/useless Del: bad code -- https://master.php.net/note/delete/78035/bad+code Del: spam -- https://master.php.net/note/delete/78035/spam Del: non-english -- https://master.php.net/note/delete/78035/non-english Del: in docs -- https://master.php.net/note/delete/78035/in+docs Del: other reasons-- https://master.php.net/note/delete/78035 Reject -- https://master.php.net/note/reject/78035 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130770) next »