Re: file upload issue in HEAD
| From: | Rasmus Lerdorf | Date: | Fri, 29 Mar 2002 17:07:06 +0000 |
| Subject: | Re: file upload issue in HEAD | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81934@lists.php.net to get a copy of this message | ||
Hrm, you are right, I can't repeat it in the current 4.1 branch. Am I
seeing things on Debian? Anybody else have a Debian woody server with
4.1.2 from the Debian package running?
If so, please test this script:
<form action="form.php" enctype="multipart/form-data"
method="POST">
<input type="text" name="text"><br>
<input name="f_file" type="file" size="60"><br>
<input type=submit><br>
</form>
<?echo $_REQUEST['text']?>
Don't provide a file to be uploaded, just put something in the text field
and let me know if it show up when you submit the form.
-Rasmus
On Fri, 29 Mar 2002, Stefan Esser wrote:
> Hi,
>
> > Did you turn off file_uploads in your php.ini before testing? I just
> > double-checked in the 4.2 branch and turning off file_uploads makes the
> > variable disappear for me.
>
> Ahhh then I misunderstood your mail. I thought you mean in 4.1.2 if you do
> not
> upload a file (only fill the input fields) php would not handle the request.
>
> Hmm yeah if you disable the file_upload you turn off whole multipart
> processing.
>
> Stefan
>