Bug #16884: Upload can't be used over $_POST
| From: | j dot kohl at style-id dot de | Date: | Sun, 28 Apr 2002 07:03:28 +0000 |
| Subject: | Bug #16884: Upload can't be used over $_POST | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6335@lists.php.net to get a copy of this message | ||
From: j.kohl@style-id.de
Operating system: Linux / RedHat 7.2
PHP version: 4.2.0
PHP Bug Type: Scripting Engine problem
Bug description: Upload can't be used over $_POST
I've a form with method="post", when I'm uploading a file with <input
type="file" name="inptFile" /> I've to change my code from:
<?
$tempVar = getImageSize($_POST["inptFile"]);
?>
what doesn't work to
<?
$tempVar = getImageSize($_REQUEST["inptFile"]);
?>
what seems to work. I can't follow that logic.
--
Edit bug report at http://bugs.php.net/?id=16884&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16884&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16884&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16884&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16884&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16884&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16884&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16884&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16884&r=submittedtwice