March 2002
Beginner
560 pages
12h 14m
English
Yesterday you saw what kind of output a Web server generates when it is delivering a page: a line identifying the HTTP protocol version, another line identifying the type of document to be delivered, a blank line, and finally the actual code to generate the page. (This is just a minimal description. Headers can contain extra information, such as a Content-length line.) An HTML file normally doesn't include the header lines. For instance, this much HTML is sufficient to make a literal time appear in the browser window:
<html><body> Current time: Sun Sep 16 12:46:46 CDT 2001 </body><html>
If you save these text lines in a file named index.html in your DocumentRoot directory and point a browser to http://localhost, the browser should ...
Read now
Unlock full access