file uploads
| From: | Ron Newman | Date: | Sat, 16 Dec 2000 01:07:40 +0000 |
| Subject: | file uploads | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30631@lists.php.net to get a copy of this message | ||
Can PHP have a part to play in using <INPUT type=file name=Image> to allow the user to upload a file?
Is an Apache module or some CGI program necessary to make this work?
When I use it and echo the 'Image" variable in PHP I get
"none"
if I type a simple filename into the browser box, or
"/tmp/phpVl4Oju"
if I use the "Browse" button to select a file on the client machine. (this name has no relation to the real filename I Browsed to).
What's going on?