O'Reilly logo

PHP 5 Power Programming by Derick Rethans, Stig Sæther Bakken, Andi Gutmans

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A.13. HTTP

A.13.1. HTTP

Repository: PEAR - License: PHP License - By Stig Sæther Bakken (lead) - Pierre-Alain Joye (lead)

Miscellaneous HTTP utilities

A.13.1.1. Description

The HTTP class is a class with static methods for doing miscellaneous HTTP-related stuff like date formatting or language negotiation.

A.13.2. HTTP_Client

Repository: PEAR - License: PHP License - By Alexey Borzov (lead)

Easy way to perform multiple HTTP requests and process their results

A.13.2.1. Description

The HTTP_Client class wraps around HTTP_Request and provides a higher level interface for performing multiple HTTP requests.

Features:

  • Manages cookies and referrers between requests

  • Handles HTTP redirection

  • Has methods to set default headers and request parameters

  • Implements ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required