| www.xenoplanet.com | ||
| x e n o p l a n e t dot com |
|
|
|
|
::
high speed webhosting :: domain registration ::
e-commerce :: |
|
| | Overview | Web Hosting | E-Commerce | Domain Registration | Support Center | Policies | Web Account | Contact | Company | | ||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ o n l i n e r e s o u r c e s ]
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Variable | Meaning | Example Output |
|---|---|---|
| HTTP_REFERER | The page from which the visitor came | http://www.xenoplanet.com/support/index.shtml |
| HTTP_USER_AGENT | The visitor's browser software | Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90) |
| SERVER_SOFTWARE | The version of the web server | Apache/1.3.12 (Unix) FrontPage/4.0.4.3 |
| SERVER_NAME | Your server name | www.xenoplanet.com |
| REMOTE_ADDR | The remote IP address of the visitor | 62.157.21.236 |
| REMOTE_USER | The username (in a restricted area) | (none) |
| QUERY_STRING | Any data following a '?' in the URL | |
| DOCUMENT_NAME | The name of this file | ssi.shtml |
| DATE_LOCAL | The current date (pacific time) | Sunday, 25-Feb-2001 09:41:19 PST |
| DATE_GMT | The current date (GMT) | Sunday, 25-Feb-2001 17:41:19 GMT |
| LAST_MODIFIED | "Last modified" date of the current file | Monday, 18-Jan-1999 22:26:49 PST |
File size
Timestamps
| Code | Meaning | Example Output |
|---|---|---|
| %c | The time and date | Sun Feb 25 09:41:19 2001 |
| %R | The time (hh:mm) | 09:41 |
| %T | The time (hh:mm:ss) | 09:41:19 |
| %r | The time (hh:mm:ss AM) | 09:41:19 AM |
| %H | The hour (24-hour clock, 00-23) | 09 |
| %k | The hour (24-hour clock, 0-23) | 9 |
| %I | The hour (12-hour clock, 01-12) | 09 |
| %l | The hour (12-hour clock, 1-12) | 9 |
| %M | The minutes (00-59) | 41 |
| %S | The seconds (00-59) | 19 |
| %p | AM or PM | AM |
| %s | The number of seconds since January 1, 1970 | 983122879 |
| %Z | The time zone | PST |
| %D | The date | 02/25/01 |
| %a | The abbreviated weekday name (Mon, Tue, ...) | Sun |
| %A | The full weekday name (Monday, Tuesday, ...) | Sunday |
| %w | The weekday number (0-6), 0=Sunday | 0 |
| %b | The abbreviated month name (Jan, Feb, ...) | Feb |
| %B | The full month name (January, February, ...) | February |
| %m | The month of the year (01-12) | 02 |
| %d | The day of the month (01-31) | 25 |
| %e | The day of the month (1-31) | 25 |
| %y | The 2-digit year | 01 |
| %Y | The 4-digit year | 2001 |
| %C | The century | 20 |
| %j | The day of the year (001-366) | 056 |
| %W | The week of the year (00-53) starting Monday | 08 |
Setting variables
Parsing non-SSI file types
XSSI (eXtended Server Side Includes)
| |
|
|
| :: | © 2000-2005 xenomorph [michele gaggia] - all rights reserved - designed by x e n o s t y l e | |
| :: :: :: | www.xenoplanet.com | |
| 200px | 350px | 200px |