Sponsored Content
Full Discussion: BitNami MAPPStack 1.2-3
Operating Systems OS X (Apple) OS X OpenSource RSS BitNami MAPPStack 1.2-3 Post 302466222 by Linux Bot on Tuesday 26th of October 2010 01:45:03 AM
Old 10-26-2010
CPU & Memory BitNami MAPPStack 1.2-3

ImageAbout BitNami MAPPStack
Allows users to have a complete PHP web development environment up and running in just minutes. BitNami MAPPStack is licensed under the terms of the Apache License 2.0, and is free for download and use. It allows users to take advantage of the stability, low cost and high performance of the Apache, PostgreSQL, and PHP web development platform, without the hassle of integrating, configuring, and supporting their own build. BitNami MAPPStack provides an integrated package that can be used by both commercial and open source projects for rapid, consistent deployments in both development and production environments.

More from Apple...
 
APACHE_REQUEST_HEADERS(3)						 1						 APACHE_REQUEST_HEADERS(3)

apache_request_headers - Fetch all HTTP request headers

SYNOPSIS
array apache_request_headers (void ) DESCRIPTION
Fetches all HTTP request headers from the current request. 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 apache_request_headers(3) example <?php $headers = apache_request_headers(); foreach ($headers as $header => $value) { echo "$header: $value <br /> "; } ?> The above example will output something similar to: Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 Host: www.example.com Connection: Keep-Alive NOTES
Note You can also get at the value of the common CGI variables by reading them from the environment, which works whether or not you are using PHP as an Apache module. Use phpinfo(3) to see a list of all of the available environment variables. SEE ALSO
apache_response_headers(3). PHP Documentation Group APACHE_REQUEST_HEADERS(3)
All times are GMT -4. The time now is 09:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy