In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Brett W. McCoy) wrote:
> On Fri, 12 Oct 2001, Carl Franks wrote: > > if (condition) { > > print "Location:page.html\n\n"; > > } else { > > print "Content-type: text/html\n\n"; > > print "...html..."; > > } > > } > BTW, for a Location header, you should an absolute URL and not a relative > URL, even if it's on the same server as the request URI. that depends on your intent and whether or not you want the browser to know what you are doing. you do not always have to use an absolute URL. -- brian d foy <[EMAIL PROTECTED]> - Perl services for hire CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]