Need some other tricks to use the echo command for? Here are the other values you can enter for the value of var. I'm not going into detail with these at this time. The basics, include and echo are covered on the previous tutorial pages though.
Remember... the value must be in capital letters and the underscore character must be used!
Remember... the value must be in capital letters and the underscore character must be used!
| AUTH_TYPE | client authorization method (if any). |
| CONTENT_LENGTH | size of input posted from client. |
| CONTENT_TYPE | MIME type of content. |
| DATE_GMT | current GMT (Greenwich, UK) date/time. Use #config to format. |
| DATE_LOCAL | current local host date/time. Use #config to format. |
| DOCUMENT_NAME | name of the specified document. ***possibly title*** |
| DOCUMENT_URI | URL of the specified document. |
| LAST_MODIFIED | modified date of the document. Use #config to format. |
| PAGE_COUNT | number of times the document has been accessed. |
| HTTP_REFERER | URL where the visitor just came from. |
| REMOTE_ADDR | numeric IP address of the visitor. |
| REMOTE_HOST | domain name of the visitor (if DNS option active on server). |
| REMOTE_USER | ID of visitor (rarely found). |
| REQUEST_METHOD | The HTTP method. GET or POST. |
| SERVER_NAME | server host name (example : www.htmlite.com). |
| SERVER_PORT | the port used by httpd (usually 80). |
| SERVER_PROTOCOL | the version of httpd compliance. |
| SERVER_SOFTWARE | the name of the server software (example : apache 1.2.5) |
| TOTAL_HITS | total pages served since server has been online. |

