note 19146 deleted from function.mkdir by aidan

From: Date: Sun, 03 Oct 2004 13:40:45 +0000
Subject: note 19146 deleted from function.mkdir by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77846@lists.php.net to get a copy of this message
Note Submitter: yari at phoenixdigital dot com dot au ---- For file / image uploading, having a folder with 777 permissions is useful as it allows a user to upload files from their browser. PHP doesn't allow you to make a directory with 777 permissions, to get around this make the directory, then change its mode to 777. <form method="post" action="directory_make_upate.php"> Create Directory:<input type="text" name="file" size=15> <input type="submit" value="Create"> </form> <? mkdir($file,0755); chmod ($file,0777); ?>

« previous php.notes (#77846) next »