note 102822 deleted from function.stream-context-create by danbrown
| From: | danbrown@php.net | Date: | Tue, 08 Mar 2011 14:43:30 +0000 |
| Subject: | note 102822 deleted from function.stream-context-create by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177668@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
<?php
$opts = array(
'http'=>array(
'method'=>"GET",
'header'=>"Accept-language: en\r\n" .
"Cookie: foo=bar\r\n"
)
);
$context = stream_context_create($opts);
?>
what's this script function?
does it actually create a cookie named foo ?
thanks