Re: [PHP] Browser Sniffing

2003-03-04 Thread David Otton
On Tue, 04 Mar 2003 18:32:33 -0700, you wrote: >I know, it can't be done in PHP. That's not exactly what I'm here >for. I have a client who would like to redirect people to a polite >'upgrade your browser' page whenever people visit his site (which has >been developed in PHP no less). My

Re: [PHP] Browser Sniffing

2003-03-04 Thread Tau Ceti
On a site I worked with we rely on browser detection in order to send the correct stylesheet and other bits that make it more compatable on older browsers. Browser detection is not just used to block unwanted browsers. On Tue, 4 Mar 2003, Leif K-Brooks wrote: > Checking browsers is pure evil, bu

Re: [PHP] Browser Sniffing

2003-03-04 Thread Leif K-Brooks
Checking browsers is pure evil, but if you must, use $_SERVER['HTTP_USER_AGENT'] on the server side. Ashley M. Kirchner wrote: I know, it can't be done in PHP. That's not exactly what I'm here for. I have a client who would like to redirect people to a polite 'upgrade your browser' page w

Re: [PHP] Browser Sniffing

2003-03-04 Thread Larry E. Ullman
I know, it can't be done in PHP. That's not exactly what I'm here for. I have a client who would like to redirect people to a polite 'upgrade your browser' page whenever people visit his site (which has been developed in PHP no less). My question here is, how can I make this so that regar