Re: Subject: ENCTYPE
| From: | neil smith | Date: | Sun, 22 Sep 2002 16:27:47 +0000 |
| Subject: | Re: Subject: ENCTYPE | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15938@lists.php.net to get a copy of this message | ||
Hi -
I dont know if this wil help but I found I had to specify the maximum allowable file size as a hidden variable MAX_FILE_SIZE like this :
<input type="hidden" name="MAX_FILE_SIZE" value="64000">
or whatever the biggest file you are prepared to accept is.
Are you sure your web server is not configured to accept only GET requests for that directory in a .htaccess file or global configuration?
Cheers,
Neil Smith
At 15:00 22/09/2002 +0000, you wrote:
From: "Kit Kerbel" <kerbel5@hotmail.com> To: php-windows@lists.php.net Date: Sat, 21 Sep 2002 22:48:48 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: <F176LJGWSa1aNEVJpjc000045be@hotmail.com> Subject: ENCTYPE Hi all...My post variables are not acting properly when I add enctype="multipart/form-data" to the form tag. is this a bug in the current version of php? has anyone experienced this? If I take the enctype declaration out, it works fine (except for the file uploading, which is crucial). I can work around this by making two separate forms, but I would rather just have the one. Thanx in advance, Kit__________________________________________________________ VideoChat with friends online, get Freshly Toasted every day at http://www.fresh-toast.net : NetMeeting solutions for a connected world.