HTTP extension for PHP 1.6.2 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News HTTP extension for PHP 1.6.2 (Default branch)
# 1  
Old 12-05-2008
HTTP extension for PHP 1.6.2 (Default branch)

The HTTP extension for PHP aims to provide a convenient and powerful set of functionality for one of PHP's major applications. It eases handling of HTTP URLs, dates, redirects, headers, and messages, provides means for negotiation of clients' preferred language and charset, as well as a convenient way to send any arbitrary data with caching and resuming capabilities. It provides powerful request functionality if built with CURL support. Parallel requests are available for PHP 5 and greater. License: BSD License (revised) Changes:
This release fixes PHP 5.3 API incompatibilities (including bug #15065). It fixes memory corruption with headers and HttpRequest. It fixes a crash in HttpMessage::unserialize(). It fixes bug #14826 (a race condition in http_request_dtor) and bug #15223 (http_parse_message cuts off more than headers). Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
GETALLHEADERS(3)							 1							  GETALLHEADERS(3)

getallheaders - Fetch all HTTP request headers

SYNOPSIS
array getallheaders (void ) DESCRIPTION
Fetches all HTTP headers from the current request. This function is an alias for apache_request_headers(3). Please read the apache_request_headers(3) documentation for more information on how this function works. RETURN VALUES
An associative array of all the HTTP headers in the current request, or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.5.7 | | | | | | | This function became available in the CLI | | | server. | | | | | 5.4.0 | | | | | | | This function became available under FastCGI. | | | Previously, it was supported when PHP was | | | installed as an Apache module or by the NSAPI | | | server module in Netscape/iPlanet/SunONE web- | | | servers. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 getallheaders(3) example <?php foreach (getallheaders() as $name => $value) { echo "$name: $value "; } ?> SEE ALSO
apache_response_headers(3). PHP Documentation Group GETALLHEADERS(3)