Re: Uploading images to a particular folder in the server
| From: | Rick Emery | Date: | Sun, 12 Jan 2003 04:55:19 +0000 |
| Subject: | Re: Uploading images to a particular folder in the server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131303@lists.php.net to get a copy of this message | ||
in your HTML file:
<INPUT type="hidden" name="MAX_FILE_SIZE" value="5000000">
<INPUT type=file name="picfile">
in PHP script:
copy($HTTP_POST_FILES['picfile']['tmp_name'],
"../images/newfilename.gif");
----- Original Message -----
From: "Denis L. Menezes" <menezesd@singnet.com.sg>
To: "PHP general list" <php-general@lists.php.net>
Sent: Saturday, January 11, 2003 10:50 PM
Subject: [PHP] Uploading images to a particular folder in the server
Hello Friends,
I am hiring a 200Mb server space and building the php/mysql website there. Going ok so far.
I need to let users upload their logos in GIF format to a particulat folder ../webroot/logos/ .
Can any of you give me some hints or links. I have 4 books on PHP and noe of them are telling this.
Thanks