RE: Re[2]: [PHP] Browser Detection another page

2004-02-18 Thread Gryffyn, Trevor
mycb Sure, but why would a user want to fake their browser signature? They might do it without even knowing. Opera will identify itself as IE6 for example if you select that in the Preferences. Other browsers/packages can do it as standard. Although I can't give a specific example, I bet

Re: [PHP] Browser Detection another page

2004-02-13 Thread memoimyself
Hello Joel, Before you read my comments below, let me say that I'm not trying to prove you *wrong* or even express disagreement with the points you made; I'm just interested in your reasons. On 12 Feb 2004 at 20:11, joel boonstra wrote: Hopefully you're aware that $HTTP_USER_AGENT is an

Re[2]: [PHP] Browser Detection another page

2004-02-13 Thread Richard Davey
Hello, Friday, February 13, 2004, 12:29:07 PM, you wrote: mycb Sure, but why would a user want to fake their browser signature? They might do it without even knowing. Opera will identify itself as IE6 for example if you select that in the Preferences. Other browsers/packages can do it as

Re: [PHP] Browser Detection another page

2004-02-13 Thread joel boonstra
[ straying OT, so apologies in advance. ] [ also, quite long. double apologies. ] On Fri, Feb 13, 2004 at 10:29:07AM -0200, [EMAIL PROTECTED] wrote: Hopefully you're aware that $HTTP_USER_AGENT is an unreliable variable, in that it is sent by the client, and can contain virtually anything.

Re: [PHP] Browser Detection another page

2004-02-13 Thread Stuart
[EMAIL PROTECTED] wrote: Before you read my comments below, let me say that I'm not trying to prove you *wrong* or even express disagreement with the points you made; I'm just interested in your reasons. An interesting topic, but the OP was checking if the client was a PDA. Maybe it's just me,

Re: [PHP] Browser Detection another page

2004-02-13 Thread joel boonstra
On Fri, Feb 13, 2004 at 08:01:00PM +, Stuart wrote: [EMAIL PROTECTED] wrote: Before you read my comments below, let me say that I'm not trying to prove you *wrong* or even express disagreement with the points you made; I'm just interested in your reasons. An interesting topic, but the

[PHP] Browser Detection another page

2004-02-12 Thread PETCOL
PHP Newbie here, I have been able to work out how to detect the browser I'm looking for. Then I need to take the user to another page. ? php if (strstr($HTTP_USER_AGENT,'Windows CE')) { //go to the Windows CE version of the site } else { // go to or Stay on the large version } ?

Re: [PHP] Browser Detection another page

2004-02-12 Thread Richard Davey
Hello PETCOL, Friday, February 13, 2004, 12:57:59 AM, you wrote: P I have been able to work out how to detect the browser I'm looking for. P Then I need to take the user to another page. P if (strstr($HTTP_USER_AGENT,'Windows CE')) { P //go to the Windows CE version of the site P } else { P

Re: [PHP] Browser Detection another page

2004-02-12 Thread joel boonstra
On Fri, Feb 13, 2004 at 11:57:59AM +1100, PETCOL wrote: Then I need to take the user to another page. ? php if (strstr($HTTP_USER_AGENT,'Windows CE')) { //go to the Windows CE version of the site } else { // go to or Stay on the large version } ? Hopefully you're aware that

[PHP] Re: [SOLVED][PHP] Browser Detection another page

2004-02-12 Thread PETCOL
Richard, Thanks for that, looks too simple ;-) It's exactly what I want for this particular application. Thanks Col Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello PETCOL, Friday, February 13, 2004, 12:57:59 AM, you wrote: P I have been able to work out how