php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6672 $PHP_PUT_FILENAME gone!?
Submitted: 2000-09-12 03:48 UTC Modified: 2001-01-07 10:57 UTC
From: jason at trackeronline dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 OS: All
Private report: No CVE-ID: None
 [2000-09-12 03:48 UTC] jason at trackeronline dot com
  In PHP 4.0, it appears that the PHP_PUT_FILENAME variable is gone. I've grepped the entire source tree (4.0.1pl2 which I am running live, and the CVS as of Sept 08, 2000) and it is nowhere to be found. Nor is there any documentation that I could find to specify what could replace it.

  I've examined the complete list of variables available to my script which recieves my PUT method, and none of the variables seem to contain the usual temporary filename that PHP generates on a PUT. This seems to be the same problem as bug id # 4763, HOWEVER, that bug is marked as closed with no solution. I am not trying to send a PUT method (I could use cURL in that case), but to recieve a PUT method. Also, it is NOT an option to change the PUT method to a POST, as the PUT is imbedded in a windows executable with about 10,000 copies out there. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-07 10:57 UTC] jmoore@php.net
The behaviour of file uploads have changed since php 3 due to one or two security issues, please see the manual for details (althought after 4.0.1pl2 IIRC). (you might have register_globals=off) too but I dont know. anyway file uploads are correctly documented in the manual now.

Upgrade to the latest version to use the new features avalible.

James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC