note 81696 deleted from ref.stream by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 19:08:36 +0000 |
| Subject: | note 81696 deleted from ref.stream by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155202@lists.php.net to get a copy of this message | ||
Note Submitter: kburkholder at earthasylum dot com
----
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]