home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomeWeb Design in a NutshellSearch this book

18.7. Include Variables

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

DATE_GMT

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

DATE_LOCAL

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

DOCUMENT_NAME

The name of the current file (excluding directories)

DOCUMENT_URI

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

LAST_MODIFIED

The last modification date and time for the current file

QUERY_STRING_UNESCAPED

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



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.