redirect - CGI

2006-04-11 Thread Augusto Flavio
Hi, I'm looking for a method to redirect the url of browser to elsewhere. What i do was check the documentation of CGI.pm: Sometimes you don't want to produce a document yourself, but simply redirect the browser elsewhere, perhaps choosing a URL based on the time of day or the identity of

Re: redirect - CGI

2006-04-11 Thread Mike Blezien
- Original Message - From: Augusto Flavio [EMAIL PROTECTED] To: 'Perl Beginners - CGI List' beginners-cgi@perl.org Sent: Tuesday, April 11, 2006 8:05 AM Subject: redirect - CGI Hi, I'm looking for a method to redirect the url of browser to elsewhere. What i do was check

Re: redirect - CGI

2006-04-11 Thread David Dorward
On Tue, Apr 11, 2006 at 10:05:15AM -0300, Augusto Flavio wrote: #!/usr/bin/perl use CGI qw/:standard/; Seems to be missing a use strict and use warnings here. print Content-type: text/html\n\n; You end you HTTP headers here (by printing two new lines). print