in reply to Re: Re: Re: Unwanted appearance of "Content-type..."
in thread Unwanted appearance of "Content-type..."
Normally the first thing you will do in any CGI script is print out an HTTP header. This tells the browser what type of document to expect, and gives other optional information, such as the language, expiration date, and whether to cache the document. The header can also be manipulated for special purposes, such as server push and pay per view pages.
And I am a better monk for it. Thanks.print $query->header(-type=>'image/gif', -nph=>1, -status=>'402 Payment required', -expires=>'+3d', -cookie=>$cookie, -charset=>'utf-7', -attachment=>'foo.gif', -Cost=>'$2.00');<div class="pmsig">
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Unwanted appearance of "Content-type..."
by Anonymous Monk on May 04, 2004 at 05:04 UTC |