php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16884 Upload can't be used over $_POST
Submitted: 2002-04-28 03:03 UTC Modified: 2002-04-28 03:16 UTC
From: j dot kohl at style-id dot de Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.0 OS: Linux / RedHat 7.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: j dot kohl at style-id dot de
New email:
PHP Version: OS:

 

 [2002-04-28 03:03 UTC] j dot kohl at style-id dot de
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-28 03:12 UTC] yohgaki@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
 [2002-04-28 03:16 UTC] j dot kohl at style-id dot de
Sorry, I missed the $_FILES Array.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 05:01:42 2025 UTC