On Wed, 21 Aug 2002 17:08:18 +0800, [EMAIL PROTECTED] (Connie Chan)
wrote:
>#! /usr/local/bin/perl
>use strict;
>
>my $version = &do_sth_detect_browser_ver();
>my $page = 'surly.cgi';
>if ($version <= 4) { $page = 'tipsy.cgi' }
>
>print "Content-type: text/html\n";
You shouldn't print the regular header with a "Location" header,
else you risk printing out the literal string 'Location: $page';

>print "Location: $page\n\n";
>
># END
>
>Rgds,
>Connie


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to