note 81696 added to ref.stream
| From: | kburkholder at earthasylum dot com | Date: | Mon, 10 Mar 2008 10:43:32 +0000 |
| Subject: | note 81696 added to ref.stream | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136892@lists.php.net to get a copy of this message | ||
I've developed a simple streams class to handle get, post and put requests (based on the
documentation and user notes here).
The simplest example:
<?php
// a simple GET request:
include('eac_streams.class.php');
$http = new stream();
$result = ('http://www.domain.com/somepage.php');
?>
Along with that, I have a curl class that does nearly the same thing.
http://www.kevinburkholder.com/sw_curl_stream.php
Hope it's useful. Any feedback is welcomed.
Thanks.
[note: cross-posted to curl page]
----
Server IP: 209.41.74.194
Probable Submitter: 68.163.2.246
----
Manual Page -- http://www.php.net/manual/en/ref.stream.php
Edit -- https://master.php.net/note/edit/81696
Del: integrated -- https://master.php.net/note/delete/81696/integrated
Del: useless -- https://master.php.net/note/delete/81696/useless
Del: bad code -- https://master.php.net/note/delete/81696/bad+code
Del: spam -- https://master.php.net/note/delete/81696/spam
Del: non-english -- https://master.php.net/note/delete/81696/non-english
Del: in docs -- https://master.php.net/note/delete/81696/in+docs
Del: other reasons-- https://master.php.net/note/delete/81696
Reject -- https://master.php.net/note/reject/81696
Search -- https://master.php.net/manage/user-notes.php