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,

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, b

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 anythin

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 unre

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. > > > 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 t

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

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; Wind

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: -

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] bro

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? > > wh

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 detec

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 befor