note 96999 deleted from function.mkdir by danbrown

From: Date: Sat, 27 Mar 2010 14:39:56 +0000
Subject: note 96999 deleted from function.mkdir by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-167447@lists.php.net to get a copy of this message
Note Submitter: Anonymous Reason: bad code ---- Something that I missed in the initial function and isn't mentioned in the examples is that the file path may require a "." After a lot of error, I found that on my server that: // $createdir = '/mydir'; mkdir($createdir, 0777); FAILED // $createdir = '/mydir'; mkdir($createdir, 0777); SUCEEDED This was on MAMP, your mileage may vary.

« previous php.notes (#167447) next »