|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-17 19:31 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ hi; It seems that the Context option 'content' of HTTP wrapper for stream, does not pass the value to the server. Reproduce code: --------------- // === client side php code === $opts = array('http'=>array('method'=> "POST", 'content' => 'foo=bar')); $context = stream_context_create($opts); echo file_get_contents ($url, false, $context); // === server side php code === print $_POST['foo']; Expected result: ---------------- bar