You are currently browsing the page SHTML variables in the Miscellaneous category.

SHTML variables

Those are just some variables you can put in your SHTML document.

The following one will display the document name.

<!--#echo var="document_name" --> This one will display the folders in which the document is.

<!--#echo var="DOCUMENT_URI" --> This one displays the current date and time.

<!--#echo var="DATE_LOCAL" --> This one displays when the document was last modified.

<!--#echo var="last_modified" --> This one shows the visitor IP adress.

<!--#echo var="remote_addr" --> This one displays the referer to your page

<!--#echo var="http_referer" --> And finally, this one displays which browser the visitor uses.

<!--#echo var="http_user_agent" -->

Print This Post Print This Post



Sponsors


Leave a Comment

Works? Doesn't work? Other tips? Please leave a comment! :)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

To post codes, please go to SimpleCode and transform your codes first, so that it will displayed properly. Indeed, < and > need to be converted to &lt; and &gt; :)


Close
E-mail It