Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] headers, redirection? From: Adam Whitehead (adam <email protected>)
Date: 08/08/99

This sound more like a JavaScript issue. If you search the web you should
be able to find an example of how to do this in JavaScript. It can
definitely be done.

It is possible to do it in PHP3 with the User Agent variable as well.

At 08:22 AM 8/8/99 -0400, Dev Young wrote:

>Is there a way to have the header redirection to a paticular page,
>depending upon
>which browser the visitor is using? I tried using an if statement in the
>header,
>but it didn't work..
>
>Adam Whitehead wrote:
>
> > Hi,
> >
> > That looks fine to me. Try making sure there is no white space above the <?
> > That is the most common cause of this problem.
> >
> > At 04:53 AM 8/8/99 -0400, Dev Young wrote:
> >
> > >At the risk of being laughed at, why isn't this working?
> > >
> > >------------
> > ><?
> > >Header("Location: http://www.abreathoflife.com");
> > >exit;
> > >?>
> > >
> > >------------
> > >
> > > - Dev
> > > Sys Admin
> > > http://abreathoflife.com
> > >
> > >
> > >--
> > >PHP 3 Mailing List <http://www.php.net/>
> > >To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> > >To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> > >To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> > >To contact the list administrators, e-mail: php-list-admin <email protected>
> >
> > Regards,
> > Adam Whitehead
> > CEO - Netherworld Media
> > E-mail: adam <email protected>
> > Phone: +61 (889) 279 898
> > FAX: +61 (889) 273 889
> > Mobile: +61 (411) 241 120
> > Musicseek (http://www.musicseek.net)

Regards,
Adam Whitehead
CEO - Netherworld Media
E-mail: adam <email protected>
Phone: +61 (889) 279 898
FAX: +61 (889) 273 889
Mobile: +61 (411) 241 120
Musicseek (http://www.musicseek.net)

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>