Create your blog and photo album with postbit
Create your blog and photo album

Create new post


Upload a picture:
Tags (keywords separated by comma)

Save Cancel
webtools:   Followers: 10 ; Following: 2

Explore webtools's photo albums:
Photos from posts (2)
Photos from posts (2)

Environment variables

How to view environment variables?

To list all environment variables (ENV) in your browser, use this online tool to dynamically display the environment vars:

This tool can be used to:

  • List all environment variables received from the browser plus variables generated by the server.

  • Display JavaScript variables already existent in the DOM (Document Object Model) of the generated html page.

  • Upload files with a form and see exact results of how the script in the server side will get and parse the submitted results

  • List cookies in the web page

  • Post a form using GET or POST method and select optional enctype="multipart/form-data" and fill some input form fields to see the raw posted information from the browser to the server.

See also PHP environment variables (and how to list environment variables), including Apache variables and system configuration.

Sample result of the server environment variables generated with this online tool:

Environment variables and other system information
LOCALTIME = Tue Sep 20 16:28:15 2011
OSNAME ( $^O ) = linux

(DOCUMENT_ROOT) = [/virtual/]
(HTTP_ACCEPT) = [text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
(HTTP_ACCEPT_CHARSET) = [ISO-8859-1,utf-8;q=0.7,*;q=0.3]
(HTTP_ACCEPT_ENCODING) = [gzip,deflate,sdch]
(HTTP_ACCEPT_LANGUAGE) = [en-US,en;q=0.8]
(HTTP_CONNECTION) = [keep-alive]
(HTTP_COOKIE) = [__utma=65499964.634924034.1308594646.1316467809.1316545000.31; __utmb=65499964.12.10.1316545000; __utmc=65499964; __utmz=65499964.1308594646.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)]
(HTTP_HOST) = []
(HTTP_USER_AGENT) = [Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1]
(PATH) = [/sbin:/usr/sbin:/bin:/usr/bin]
(REDIRECT_URL) = [/ambiente]
(REMOTE_PORT) = [62365]
(REQUEST_URI) = [/ambiente]
(SCRIPT_FILENAME) = [/virtual/]
(SCRIPT_NAME) = [/cgi-bin/]
(SERVER_ADMIN) = [root@localhost]
(SERVER_PORT) = [80]
(SERVER_SIGNATURE) = [Apache/2.2.20 (Amazon) Server at Port 80
(SERVER_SOFTWARE) = [Apache/2.2.20 (Amazon)]

Post by webtools (2011-09-20 16:28)

Post your comment:

Name: Email: Site:

| Explore users | New posts | Create your blog | Create your photo album |
| About Postbit | Our blog | Terms of use | Contact Postbit |

Copyright © 2018 -