Skip to content

php class: http client(利用php访问网站)

很好的php类,利用这个类可是利用php访问需要登录的网站。

下载:httpclass-2008-01-29
具体的使用方法见压缩文件内的测试文件!

另外一个类似功能的php class:

Class that implements requests to Web resources using the HTTP protocol.
特征如下:

  • - May submit HTTP requests with any method, to any page, to any server, connecting to any port.
  • - Provides support to setup connection and request arguments from a given URL.
  • - May submit requests via a proxy server with support for authentication if necessary.
  • - May establish connections via a SOCKS server.
  • - Supports HTTP direct access or proxy based authentication mechanisms via SASL class library like HTTP Basic, HTTP Digest or NTLM (Windows or Samba).
  • - Support secure connections (https) via Curl library with SSL support, or at least PHP 4.3.0 with OpenSSL support, or via a non-SSL HTTP proxy server.
  • - Supports accessing secure pages using SSL certificates and private keys using Curl library
  • - Supports user defined request headers.
  • - Supports POST requests with a user defined array of form values.
  • - Supports POST requests with a user defined request bodies for instance for making requests to SOAP services.
  • - Supports streaming requests that require uploading large amounts of data of undefined length in small chunks to avoid exceeding PHP memory limits
  • - Supports requests to sites hosting virtual Web servers.
  • - Retrieves the HTTP response headers and body data separately.
  • - Support HTTP 1.1 chunked content encoding
  • - Supports session and persistent cookies.
  • - Provides optional handling of redirected pages.
  • - Supports defining connection and data transfer timeout values.
  • - Can output connection debug information in plain text or formatted as HTML.
  • -

  • An add-on class is provided to login to Yahoo sites and perform actions on the behalf of the logged users like exporting the user address book or sending invitation to a group.

下载:httpclient-2008-03-18

pk(1)pk with php(1)http client post php(1)Php user class下载(1)php http class(2)php http client(12)php访问网页(1)php class HttpClient(2)httpclient 下载压缩文件(1)class HttpClient(2)php httpclient(72)php httpclient.php(1)php 如何使用httpclient(1)php httpclient 用法(2)php httpclient 图片(1)

Share in Google Reader Share in Google Reader 分享到 FriendFeed 分享到 FriendFeed 推荐到豆瓣 推荐到豆瓣 分享到 Twitter 分享到 Twitter

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

无觅相关文章插件,快速提升流量