From:             [EMAIL PROTECTED]
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

Reply via email to