Workshop

The quiz questions are designed to strengthen the knowledge you gain each hour. The exercises help you build on that knowledge by providing you with the opportunity to apply it to real problems.

Quiz

1: What port does the HTTP protocol ordinarily run on?
2: What is the purpose of a DNS server?
3: What does a standard HTTP request line contain?
4: How can you tell a standard content type from a nonstandard one?

Exercises

1: Learn more about how TCP/IP works. You can certainly write powerful CGI scripts without learning the internals of TCP/IP, but knowing about TCP/IP will help you understand how the Internet works. It will also help you figure out why you can’t reach your favorite Web sites some of the time.
2: Find the RFCs on the Internet ...

Get Sams Teach Yourself CGI in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.