Re: browser redirect

2002-08-21 Thread drieux
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

Re: browser redirect

2002-08-21 Thread Dave Smith
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

Re: browser redirect

2002-08-21 Thread Connie Chan
- 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&

Re: browser redirect

2002-08-21 Thread Dave Smith
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

Re: browser redirect

2002-08-21 Thread zentara
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

Re: browser redirect

2002-08-20 Thread Wiggins d'Anconia
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