News Feed
Jobs Feed
Sections




News Archive
Josh Gilman's Blog:
HTTPSock Class
January 26, 2007 @ 13:19:09

Josh Gilman has posted a new class that he's developed to make it simple to create the HTTP headers for any connection.

It also reads back the host's reply and parses any header and cookie information. Supports GZIP encoding as well. The source can be seen here. Feel free to use it, just don't take any credit for yourself. More to come soon!

The code is pretty simple - all OOP and in a class to make it easy and the assemble_header function makes you a single function call away from your shiny new headers for your message.

0 comments voice your opinion now!
httpsock class library create http header httpsock class library create http header


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Goodbye Zend.php

Rudi's Blog: Get torrent data with PHP

Jan Lehnardt's Blog: CouchDb PHP Library for JSON API

DZone.com: Factory patterns: Collaborators Map

Jim Plush's Blog: MyBic Ajax/PHP 0.6.5 Released


Community Events











Don't see your event here?
Let us know!


phpunit composer testing code community framework application development introduction functional release api unittest language zendframework2 example interview podcast series opinion

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework