RE: [PHP] Deciding the directory for the uploaded file?
| From: | John W. Holmes | Date: | Mon, 03 Mar 2003 05:06:44 +0000 |
| Subject: | RE: [PHP] Deciding the directory for the uploaded file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137852@lists.php.net to get a copy of this message | ||
> I have seen some php scripts for uploading files. They all mention
thet
> the file goes to a temporary folder.
>
> How can I upload the file to a particular folder that I have created?
It's always uploaded into a temporary folder. Then you use
move_uploaded_file() to move it where you want.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/