php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10602 $HTTP_POST_FILES doesn't work properly
Submitted: 2001-05-02 04:51 UTC Modified: 2001-05-06 12:21 UTC
From: spud at i-space dot org Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.4pl1 OS: Linux 7.0
Private report: No CVE-ID: None
 [2001-05-02 04:51 UTC] spud at i-space dot org
for upload of 3 images from POST form
it gives me nothing (even no error message):

echo $HTTP_POST_FILES['name'][0];
echo $HTTP_POST_FILES['name'][1];
echo $HTTP_POST_FILES['name'][2];
echo $HTTP_POST_FILES['type'][0];
echo $HTTP_POST_FILES['type'][1];
echo $HTTP_POST_FILES['type'][2];
echo $HTTP_POST_FILES['tmp_name'][0];
echo $HTTP_POST_FILES['tmp_name'][1];
echo $HTTP_POST_FILES['tmp_name'][2];
echo $HTTP_POST_FILES['size'][0];
echo $HTTP_POST_FILES['size'][1];
echo $HTTP_POST_FILES['size'][2];

even like - echo "$HTTP_POST_FILES['name'][0]";

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-06 12:21 UTC] sniper@php.net
If this doesn't work with PHP 4.0.5, reopen this bug report.
This should be fixed in it so please update.

--Jani

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Oct 22 14:01:27 2019 UTC