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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC