[ Previous ] [ Contents ] [ Index ] [ Next ]

Server-Parsed HTML Example

This example HTML file uses several server-parsed HTML commands.

    
    <HTML>
    <HEAD><TITLE>Server-Parsed HTML Example</TITLE></HEAD>
    <BODY>
    <!--#config timefmt="%c" 
    <!--#config sizefmt="bytes" -->
    <P>
    It is now <!--#echo var="DATE_LOCAL" --> where I am, 
    and you are using the
    <!--#echo var="HTTP_USER_AGENT" --> browser.
    <P>
    This file was last modified at
    <!--#flastmod file="servpars.shtml" -->, and it is
    <!--#fsize file="servpars.shtml" --> bytes long.
    <P>
    The latest news is:
    <!--#include virtual="/news/latest.html" -->
    <P>
    You are the <!--#exec cgi="/cgi-bin/count_access" -->
    visitor to this page.
    <P>
    That's all folks!
    </BODY></HTML>

After the server parses this example, the HTML sent to the reader might look like this:

    
    <HTML>
    <HEAD><TITLE>Server-Parsed HTML Example</TITLE></HEAD>
    <BODY>
    <P>
    It is now 24-Mar-96 03:15:56 where I am, 
    and you are using the AOLpress/1.1 browser.
    <P>
    This file was last modified at 15-Jan-96 15:15:56, 
    and it is 555 bytes long.
    <P>
    The latest news is:
    <PRE>No news is good news!</PRE>
    <P>
    You are the 42nd visitor to this page.
    <P>
    That's all folks!
    </BODY></HTML>

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.