The uHttplib module provides easy interface for fetching data across the Internet. Basically it implements the HTTP and HTTPS. Otherwise process and parse HTML is the most useful function, it could convert html into element tree.
Why I develop this library?
Because there are many PHP_MOUDLES that can do equal job like PHP_CURL or PHP_HTTP.
There are 3 reasons:
- Almost PHP hosts or clouds provide PHP function without PHP_HTTP or PHP_CURL or additional modules. It’s quite difficult to compile with yourself.
- There is no Cookie ability in PHP_HTTP module. If you want to use cookie or session, it’s useless.
- Among standard PHP module, you can’t find a good lib to process HTML.
So uhttplib’s features are very powerful.
- Cookie and Session capability
- Processing and Parsing function
- GET/POST method can launch a http request
- Without additional module like PHP_CURL,PHP_HTTP
About me, I am a communication engineer in Shanghai and familiar with many programming languages. This library arouses from Python urllib2 and lxml module. If you intend to create a crawler with PHP, uhttplib is fit for you. Enjoy it! Contact wu.qunfei@gmail.com