Re: Uploading a file
| From: | Shane Wright | Date: | Fri, 25 Jan 2002 14:27:47 +0000 |
| Subject: | Re: Uploading a file | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82096@lists.php.net to get a copy of this message | ||
Hi Jason
You have set the form's ENCTYPE attribute to 'multipart/form-data' haven't
you?
<FORM .... ENCTYPE='multipart/form-data'>
--
Shane
On Friday 25 Jan 2002 2:08 pm, Todd Cary wrote:
> Jason -
>
> Using the recommended HTML, everything works *except* the file does not
> become part of the data sent back to the server. In fact, the VALUE
> from the INPUT element is not received (e.g. $filename==
> $HTTP_POST_VARS[filename];). I am using RH Linux 7.2 with Apache. Is
> there a parameter in the Apache that needs to be set for file uploads?
>
> Many thanks.......
>
> Todd