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.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to