note 39210 deleted from features.file-upload.put-method by simp
| From: | simp@php.net | Date: | Thu, 30 Mar 2006 01:53:38 +0000 |
| Subject: | note 39210 deleted from features.file-upload.put-method by simp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106984@lists.php.net to get a copy of this message | ||
Note Submitter: Tommy
Reason: 0
----
[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.