logo

internet.com
Join the free
WDVL newsletter!

home

Sending Text to the Web Browser

Sending Text to the Web Browser

  • Because the CGI script must also respond to the client using HTTP, there is also one other required line of code in a CGI script.

  • This is the printing of the HTTP response header.

  • In most cases, you will tell the web browser that you are going to be sending back HTML code using the standard line:

    print "Content-type: text/html\n\n"; 
    

  • However you may also be sending back an image

The First Line of a Perl Script
Table of Contents
Printing with Perl

Up to => Home / Authoring / Scripting / Tutorial

Instantly look up a "techie" word using Webopedia!!


internet.com
e-commerce
WebDeveloper Network


Live coverage of Fall Internet World '99!

Copyright 1999 internet.com Corporation. Legal Notices. Privacy Policy.

www.internet.com