Include variables Web Designing

These variables are available to the echo command, if, elif, and any program on the server invoked with the exec command:

The current date (at the server) in Greenwich Mean Time

The current date (at the server) in the local time zone

The name of the current file (excluding directories)

The (%-decoded) URL path of the current file

The last modification date and time for the current file

Contains the "unescaped" version of any search query (GET) sent by the browser. Any special characters are escaped using the backslash () character.

Other Available Variables
The following are just a few of the many standard environment variables available to both CGI programs and Server Side Includes:

A list of the media types the client can accept

The URL of the document the client was viewing before selecting the link (or form) that accessed the SSI page or CGI script

The browser the client is using to issue the request

The remote IP address from which the user is making the request

The remote hostname from which the user is making the request (can be useful for detecting top level domain suffixes such as .com, .edu, etc.)

Face Book Twitter Google Plus Instagram Youtube Linkedin Myspace Pinterest Soundcloud Wikipedia

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

Web Designing Topics