Apache Variables : Apache « Development « PHP

Home
PHP
1.Chart
2.Class
3.Components
4.Cookie Session
5.Data Structure
6.Data Type
7.Date
8.Design Patterns
9.Development
10.DNS
11.Email
12.File Directory
13.Form
14.Functions
15.Graphics Image
16.HTML
17.Language Basics
18.Login Authentication
19.Math
20.MySQL Database
21.Network
22.Operator
23.PDF
24.Reflection
25.Statement
26.String
27.Utility Function
28.Web Services SOAP WSDL
29.XML
PHP » Development » Apache 




Apache Variables



Variable              Description

DOCUMENT_ROOT         Document root

HTTP_ACCEPT           Accept header of an HTTP request 
                      

HTTP_ACCEPT_ENCODING  Accepted encoding (deflate or gzip)

HTTP_ACCEPT_LANGUAGE  Accept-Language from HTTP header

HTTP_CONNECTION       Connection header of the HTTP request

HTTP_HOST             Internet host

HTTP_USER_AGENT       Client initiating web request

PATH                  Directories the server looks 

REMOTE_ADDR           Address of the client

REMOTE_PORT           Port of client 

SCRIPT_FILENAME       Absolute path of script

SERVER_ADDR           Server's address

SERVER_ADMIN          Admin of server

SERVER_NAME           Server name set

SERVER_PORT           Port the web server is running on

SERVER_SIGNATURE      Version of the server software

SERVER_SOFTWARE       Server's identification string, found in HTTP header

GATEWAY_INTERFACE     Version of the CGI spec used

SERVER_PROTOCOL       Protocol server is currently using

REQUEST_METHOD        Request method, such as GET, PUT, POST, etc.

QUERY_STRING          Query string if one exists

REQUEST_URI           Uniform Resource Identifier 

SCRIPT_NAME           Path and name for the current script

PATH_TRANSLATED       Absolute path on the web server's file system

PHP_SELF              Location of PHP script relative to document root
           
       














Related examples in the same category
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.