Bug #16270 Updated: Weird file uploading
| From: | eric at themepark dot com | Date: | Tue, 23 Apr 2002 20:39:55 +0000 |
| Subject: | Bug #16270 Updated: Weird file uploading | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5715@lists.php.net to get a copy of this message | ||
ID: 16270
Updated by: eric@themepark.com
Reported By: coolzero@coolzero.org
Status: Open
Bug Type: Unknown/Other Function
Operating System: Linux 2.4.7
PHP Version: 4.0.6
New Comment:
sorry- nevermind- bug in my build, clean install fixed. apologies for
adding clutter. -Eric
Previous Comments:
------------------------------------------------------------------------
[2002-04-22 11:59:54] eric@themepark.com
(I think this is the same thing?)
--
On IE6, Windows XP Pro, PHP 4.1.2 I'm seeing some strange stuff when my
form includes more than JUST the image.
Somtimes the variables don't get passed to the script but the file
doesn; sometiems none of it gets passed.
-E
------------------------------------------------------------------------
[2002-03-25 16:09:53] coolzero@coolzero.org
I will talk with the admins of my ISP to see if they upgrade the PHP
------------------------------------------------------------------------
[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