On Wednesday, August 21, 2002, at 03:46 , Dave Smith wrote:
[..]
> Okay, I've got it figured out. Thanks for you help. I'll just
> redirect the print commands to run the new headers depending on
> browser versions.
[..]
>
> if ($ENV{HTTP_USER_AGENT} =~ /Mozilla\/4/i
> and not $ENV{'HTTP_US
Okay, I've got it figured out. Thanks for you help. I'll just
redirect the print commands to run the new headers depending on
browser versions.
--Dave
#!/usr/local/bin/perl5
use CGI qw(:all); # 'cause I'm lazy like that
print header(), start_html();
if ($ENV{HTTP_USER_AGENT} =~ /Mozilla
- Original Message -
From: "zentara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 9:14 PM
Subject: Re: browser redirect
> On Tue, 20 Aug 2002 15:25:41 -0700 (PDT), [EMAIL PROTECTED] (Dave
> Smith) wrote:
>
> >I&
Howdy Zentara,
That one is closer than what my code was doing. It's printing out the
tipsy.cgi (that reads "Netscape 4 page"), instead of surly.cgi
(reading "anti-Netscape 4 page").
But it directs IE 6, Mozilla 1, and Netscape 4.7 to the Netscape 4
page, instead of only the Netscape 4.7 page
On Tue, 20 Aug 2002 15:25:41 -0700 (PDT), [EMAIL PROTECTED] (Dave
Smith) wrote:
>I'm trying to write a program that will redirect people looking at a
>site using Netscape 4. (I have a header that looks good in Mozilla,
>Netscape 6, and IE, but looks pretty crappy in Netscape 4).
>
>I'm new at p
Dave Smith wrote:
>
> Howdy,
>
> I'm trying to write a program that will redirect people looking at a
> site using Netscape 4. (I have a header that looks good in Mozilla,
> Netscape 6, and IE, but looks pretty crappy in Netscape 4).
>
> I'm new at programming, and am still reading Elements