From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.7
PHP version:      4.0.6
PHP Bug Type:     Unknown/Other Function
Bug description:  Weird file uploading

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 bug report at http://bugs.php.net/?id=16270&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16270&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16270&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16270&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16270&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16270&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16270&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16270&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16270&r=submittedtwice

Reply via email to