Skip to content

PHP's httplib implements GET,POST,COOKIE,PARSER without php_curl or php_http

License

Notifications You must be signed in to change notification settings

wuqunfei/uHttpLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. 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.
  2. There is no Cookie ability in PHP_HTTP module. If you want to use cookie or session, it’s useless.
  3. Among standard PHP module, you can’t find a good lib to process HTML.

So uhttplib’s features are very powerful.

  1. Cookie and Session capability
  2. Processing and Parsing function
  3. GET/POST method can launch a http request
  4. 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

About

PHP's httplib implements GET,POST,COOKIE,PARSER without php_curl or php_http

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages