Share this Page URL
Help

Chapter 20. Web Page Doodads You Should ... > Sneakily Hiding Text with HTML Comme... - Pg. 235

Web Page Doodads You Should Know About <TD><!--#echo var="HTTP_REFERER"--></TD> <TD>Address the user came from.</TD></TR> <TR><TD>REMOTE_ADDR</TD> <TD><!--#echo var="REMOTE_ADDR"--></TD> <TD>IP address of the user.</TD></TR> </TABLE> <B>Formatting the date and time:</B> <TABLE BORDER="1"> <TR><TH>TIMEFMT</TH><TH>What the Date and Time Look Like</TH></TR> <TR><TD>%#c</TD> <TD><!--#config timefmt="%#c"--><!--#echo var="LAST_MODIFIED"--></TD></TR> <TR><TD>%c</TD> <TD><!--#config timefmt="%c"--><!--#echo var="LAST_MODIFIED"--></TD></TR> <TR><TD>%x</TD> <TD><!--#config timefmt="%x"--><!--#echo var="LAST_MODIFIED"--></TD></TR> <TR><TD>%#x</TD> <TD><!--#config timefmt="%#x"--><!--#echo var="LAST_MODIFIED"--></TD></TR> <TR><TD>%X</TD> <TD><!--#config timefmt="%X"--><!--#echo var="LAST_MODIFIED"--></TD></TR> <TR><TD>%a, %b %d, %Y</TD> <TD><!--#config timefmt="%a, %b %d, %Y"--><!--#echo var="LAST_MODIFIED"--></TD> </TR> </TABLE> </BODY> </HTML> 235 Figure 20.2 shows how things look in the browser.