library httpgetcontents
HTTP Client by filegetcontents()
kawahara/httpgetcontents
HTTP Client by filegetcontents()
- Saturday, September 15, 2012
- by kawahara
- Repository
- 1 Watchers
- 0 Stars
- 7 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
httpgetcontent
This is simple http client that use filegetcontent()., (*1)
How to use
use HttpGetContent\Client;
$clinet = new Client();
$response = $client->get('http://labs.bucyou.net/ut/test.php?p=test');
// 200
echo $response->getCode();
// 'get'
echo $response->getContents();
$response = $client->post('http://labs.bucyou.net/ut/test.php', array('p' => 'test'));
// 200
echo $response->getCode();
// 'post'
echo $response->getContents();
And, you can use proxy by Client::setProxy();, (*2)
Enjoy., (*3)
dev-master
9999999-dev
HTTP Client by filegetcontents()
Sources
Download
MIT
The Requires
by
Shogo Kawahara
http
client
0.8.3
0.8.3.0
HTTP Client by filegetcontents()
Sources
Download
MIT
The Requires
by
Shogo Kawahara
http
client
0.8.1
0.8.1.0
HTTP Client by filegetcontents()
Sources
Download
MIT
The Requires
by
Shogo Kawahara
http
client
0.8.0
0.8.0.0
HTTP Client by filegetcontents()
Sources
Download
MIT
The Requires
by
Shogo Kawahara
http
client