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

Create new post

Content:

Upload a picture:
Tags (keywords separated by comma)

Save Cancel
webtools:   Followers: 9 ; 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:
http://www.centralinternet.com.br/ambiente

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
THIS SCRIPT = http://www.centralinternet.com.br/cgi-bin/ambiente.pl
OSNAME ( $^O ) = linux
ENV:

(DOCUMENT_ROOT) = [/virtual/centralinternet.com.br/www]
(GATEWAY_INTERFACE) = [CGI/1.1]
(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) = [www.centralinternet.com.br]
(HTTP_REFERER) = [http://webtools.postbit.com/]
(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]
(QUERY_STRING) = []
(REDIRECT_STATUS) = [200]
(REDIRECT_URL) = [/ambiente]
(REMOTE_ADDR) = [181.36.114.81]
(REMOTE_PORT) = [62365]
(REQUEST_METHOD) = [GET]
(REQUEST_URI) = [/ambiente]
(SCRIPT_FILENAME) = [/virtual/centralinternet.com.br/cgi-bin/ambiente.pl]
(SCRIPT_NAME) = [/cgi-bin/ambiente.pl]
(SERVER_ADDR) = [10.118.51.172]
(SERVER_ADMIN) = [root@localhost]
(SERVER_NAME) = [www.centralinternet.com.br]
(SERVER_PORT) = [80]
(SERVER_PROTOCOL) = [HTTP/1.1]
(SERVER_SIGNATURE) = [Apache/2.2.20 (Amazon) Server at www.centralinternet.com.br 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 - postbit.com