note 39210 added to features.file-upload.put-method
| From: | Tommy at rn2 dot php dot net | Date: | Tue, 20 Jan 2004 21:32:29 +0000 |
| Subject: | note 39210 added to features.file-upload.put-method | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63905@lists.php.net to get a copy of this message | ||
[PHP: PUT method example with Apache]
According to the documentation the php://input represents the raw post data. Yes, php://input works
in php 4.3, php://stdin does not (as indicated in a previous post). -- The fact that input behaves
differently to stdin may be a bug; what's the difference between raw input data and standard
input?
php://stdin appeared in php 4.3. So the example given in the PHP documentation does not work in an
earlier version of Apache/PHP.
The documentation about PHP3 does not apply to PHP4.3.
I have successfully tested the example (with php://input) on Mandrake 9.2 which shipps with PHP
4.3.3.
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.put-method.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39210
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39210&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39210&report=yes
Search -- http://master.php.net/manage/user-notes.php