Bug #16270 Updated: Weird file uploading
| From: | coolzero at coolzero dot org | Date: | Mon, 25 Mar 2002 21:09:54 +0000 |
| Subject: | Bug #16270 Updated: Weird file uploading | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3323@lists.php.net to get a copy of this message | ||
ID: 16270
Updated by: coolzero@coolzero.org
Reported By: coolzero@coolzero.org
-Status: Feedback
+Status: Open
Bug Type: Unknown/Other Function
Operating System: Linux 2.4.7
PHP Version: 4.0.6
New Comment:
I will talk with the admins of my ISP to see if they upgrade the PHP
Previous Comments:
------------------------------------------------------------------------
[2002-03-25 15:43:22] derick@php.net
Can you try the 4.2.0rc1 from www.php.net/~derick ?
Derick
------------------------------------------------------------------------
[2002-03-25 15:41:20] coolzero@coolzero.org
When I use a form with ENCTYPE="multipart/form-data" all the variables
that should exist from the post are not set.
Here is an example of the form:
<form action="imagens.php" method="post"
ENCTYPE="multipart/form-data">
<input type="hidden" name="acrescentar" value="true">
<input type="hidden" name="ID" value="$ID">
<p>Nome: <input type="text" size="20" name="nome"
value=""></p>
<p>Ficheiro: <input type="file" name="upfile"></p>
<p><input type="submit" name="submitar">
<input type="reset" name="resetar"></p>
</form>
The variable $acrescentar, $ID, $nome and $upfile are not set
I don't know if it is a bug of PHP, or something my ISP changed in the
configuration file, but this worked and now it doesn't.
Sorry my bad english
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16270&edit=1