Bug #14298 Updated: PUT method not supported in PHP 4
| From: | jimmy at lusidor dot com | Date: | Thu, 09 May 2002 11:55:50 +0000 |
| Subject: | Bug #14298 Updated: PUT method not supported in PHP 4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7313@lists.php.net to get a copy of this message | ||
ID: 14298
Updated by: jimmy@lusidor.com
Reported By: Information-Cascade@ntlworld.com
Status: Analyzed
Bug Type: HTTP related
PHP Version: 4.0.6
Assigned To: zak
New Comment:
If you find the temporary file variable I would be much obliged if you
could drop me a line.
BTW I was thinking would'nt it be better to have the PUT values in the
superglobal $_FILES ? Or at least in a $HTTP_PUT_FILE var.
A possible solution could be something like the following:
$HTTP_PUT_FILE['request_uri']
Path of the proposed upload like /mytest/filename.htm
$HTTP_PUT_FILE['path_translated']
The full path of the proposed upload like
/usr/home/foo/bar/public_html/mytest/filename.htm
$HTTP_PUT_FILE['size']
The size, in bytes, of the uploaded file.
$HTTP_PUT_FILE['tmp_name']
Temp name something like /tmp/hfdhjfufd8733
My only bad is that I cant program in C otherwise I would have been
there doing it already.
Previous Comments:
------------------------------------------------------------------------
[2002-05-08 09:44:42] zak@php.net
Current status on this is that I ignored it for a while -
I am taking a look at it again.
------------------------------------------------------------------------
[2002-05-03 12:15:39] jimmy@lusidor.com
Whats happening on this subject?
------------------------------------------------------------------------
[2001-12-02 01:32:31] zak@php.net
Thanks for the report - I am checking into it.
--zak
------------------------------------------------------------------------
[2001-11-30 10:33:31] Information-Cascade@ntlworld.com
Document:
features.file-upload.put-method.html
SAYS:
The filename of this temporary file is in the
$PHP_PUT_FILENAME variable
SAYS:
copy(
$PHP_UPLOADED_FILE_NAME,
$DOCUMENT_ROOT.$REQUEST_URI
);
Neither works. What does?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14298&edit=1