Re: What's this _FILE junk?
| From: | Pete James | Date: | Mon, 17 Mar 2003 20:33:46 +0000 |
| Subject: | Re: What's this _FILE junk? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140029@lists.php.net to get a copy of this message | ||
Is your form enctype set?
Like so:
<form name='foo' method='post' action='foo.php' enctype='multipart/form-data'>
Liam Gibbs wrote:
This line: <INPUT TYPE = "FILE" NAME = "imprintpicture" SIZE = "22"> when clicking submit, produces nothing. I print_r $_FILES["imprintpicture"], I try to echo $_FILES["imprintpicture"]["name"] or ["tmp_name"] and nothing comes up. Any reason?