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

[PHP] Browser detection script (css)

2003-06-05 Thread Øystein Håland
Till now I've bin using the BrowserDetect.class.php by Harry Fuecks. Since I migrated to register_globals=off this produses a lot of error messages. Has anyone a modification that work or another script doing the same? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Browser detection

2002-04-03 Thread Joshua E Minnie
Can anybody tell me why, when running on the same browser, I get 2 different outputs. This is the output when I echo $HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) This is the output when I use get_browser(): browser_name_pattern.Mozilla/4\.0.*

Re: [PHP] Browser detection

2002-04-03 Thread Mark
probably your browscap.ini is outdated or missing. On Wed, 3 Apr 2002 13:53:15 -0500, Joshua E Minnie wrote: Can anybody tell me why, when running on the same browser, I get 2 different outputs. This is the output when I echo $HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows

[PHP] Browser Detection without use of browsecap.ini file

2002-03-21 Thread R'twick Niceorgaw
Hi all, is there any way, I can detect the browser without using browsecap.ini file ? I'm simply interested to know if the user using netscape 4.x or earlier. I tried get_browser() function but it returns blank! after checking my server's configuration i found browsecap file setting in

[PHP] browser detection

2001-09-25 Thread wm
hi all, anybody know the function for browser detection? what i want to do is set a variable $spacerheight to a value dependent upon whether the user is on a mac or a pc. then i can say height=? echo $spacerheight; ? in the html. i tried using javascript a few diff ways with this and it

Re: [PHP] browser detection

2001-09-25 Thread Christian Cresante
hello. you can use the $HTTP_USER_AGENT variable for that. for example: $spacerheight = 2; // default if (strstr($HTTP_USER_AGENT, Mac)) { $spacerheight += 4; } hope that helps. --- wm [EMAIL PROTECTED] wrote: hi all, anybody know the function for browser detection? what i

Re: [PHP] browser detection

2001-09-25 Thread Tyler Longren
print $HTTP_USER_AGENT; will print the browser the person is using. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: wm [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 25, 2001 5:54 PM Subject: [PHP] browser

Re: [PHP] browser detection

2001-09-25 Thread Philip Olson
Check out the following : Browser Detection and Appropriate CSS Generation: - http://www.phpbuilder.com/columns/tim2821.php3 phpSniff:

[PHP] Browser Detection Redirection -- PHP or Apache ???

2001-08-17 Thread Christopher Raymond
PHP Folks: Does PHP provide some mechanism for browser detection redirection or is this something that Apache Directives can handle? For example: I don't want users with browsers less than 4.0 to actually load a page on our site. Instead, I want them redirected to a page that let's them know

Re: [PHP] Browser Detection Redirection -- PHP or Apache ???

2001-08-17 Thread Tyler Longren
the $HTTP_USER_AGENT variable will be of some use to you. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Fri, 17 Aug 2001 16:14:40 -0500 Christopher Raymond [EMAIL PROTECTED] wrote: PHP Folks: Does PHP provide some mechanism for browser detection

Re: [PHP] Browser Detection

2001-05-02 Thread Richard Lynch
Is it possible with PHP (3.0.16) to detect which browser a user has and then load an image based on the browser type? I've found the get_browser() command in the manual, but it doesn't look like that does what I want, or I could just be looking at it wrong. Has anyone tried this before?

[PHP] Browser Detection

2001-04-30 Thread Tim Thorburn
Hi, Is it possible with PHP (3.0.16) to detect which browser a user has and then load an image based on the browser type? I've found the get_browser() command in the manual, but it doesn't look like that does what I want, or I could just be looking at it wrong. Has anyone tried this before?