PHP 4.0 Bug #6672 Updated: $PHP_PUT_FILENAME gone!?
| From: | jmoore@php.net | Date: | Sun, 07 Jan 2001 15:57:57 +0000 |
| Subject: | PHP 4.0 Bug #6672 Updated: $PHP_PUT_FILENAME gone!? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43246@lists.php.net to get a copy of this message | ||
ID: 6672
Updated by: jmoore
Reported By: jason@trackeronline.com
Old-Status: Open
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[2000-09-12 03:48:39] jason@trackeronline.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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6672