note 77599 deleted from function.mkdir by mazzanet
| From: | mazzanet@php.net | Date: | Wed, 17 Dec 2008 11:04:36 +0000 |
| Subject: | note 77599 deleted from function.mkdir by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148252@lists.php.net to get a copy of this message | ||
Note Submitter: dude % patabugen ^ co " uk
----
I had some problems creating directories and then not being able to access them because of
permissions. The only way i have found to get around the problem was to create them with 0777 then
chmod them to 4755.
<?PHP
mkdir($gallery."/".$name, 0755);
chmod($gallery."/".$name, 4755);
?>