note 47447 deleted from function.mkdir by betz
| From: | betz@php.net | Date: | Sun, 05 Jun 2005 16:48:17 +0000 |
| Subject: | note 47447 deleted from function.mkdir by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89962@lists.php.net to get a copy of this message | ||
Note Submitter: ramonklown at pop dot com dot br
----
Right after you make a dir you should put chdir in order to be able to read that dir, otherwise you
get an error message.
$dirupload = 'D:/server/images/';
mkdir ($dirupload, 0700);
chdir('./');
Hope it helps someone.
Peace,
Ramon