Re: Uploading images to a particular folder in the server
| From: | Jason Wong | Date: | Sun, 12 Jan 2003 09:00:56 +0000 |
| Subject: | Re: Uploading images to a particular folder in the server | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131320@lists.php.net to get a copy of this message | ||
On Sunday 12 January 2003 12:55, Rick Emery wrote:
> 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");
Better still check out the example in the manual.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I don't remember it, but I have it written down.
*/