note 50464 deleted from function.move-uploaded-file by cmb
| From: | cmb@php.net | Date: | Mon, 08 Apr 2019 06:39:23 +0000 |
| Subject: | note 50464 deleted from function.move-uploaded-file by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210566@lists.php.net to get a copy of this message | ||
Note Submitter: user at php dot net
----
Giving the directory 777 permission is not a good idea for security reasons, it would be better to
create the directory using "mkdir()".
That will make php user (usually "nobody") the owner of the directory, and permissions
will not be a problem.