[PHP] POST php://input

2008-03-12 Thread sinseven
Hello All, ?I'm doing a POST using httpwebrequest in a Pocket PC C# application to send a file over a stream buffer to a php page on an Apache server. I'm able to not only get ?variablename=value via a $_REQUEST, but also the entire file over php://input. It all works, I'm just not sure it's pr

[PHP] php://input

2008-03-12 Thread sinseven
http://us2.php.net/manual/en/features.file-upload.put-method.php Hello All, ?I'm trying to use a PUT request to send files to a server. I'm wondering if there's a way to return something like a pass/fail code to the stream to catch on the other side. ?PHP side I'm using the code in the Example