Re: [PHP] get_browser error

2012-08-03 Thread Daniel Brown
On Fri, Aug 3, 2012 at 9:42 AM, admin wrote: > Anyone using > > Get_browser() notice that IE 9 is reporting as IE 7? > > I am aware of compatibility mode in IE 9 but that should not change the > version information sent will it? My guess is that it would, in fact, because it would send its

[PHP] get_browser error

2012-08-03 Thread admin
Anyone using Get_browser() notice that IE 9 is reporting as IE 7? I am aware of compatibility mode in IE 9 but that should not change the version information sent will it?

[PHP] get_browser() too slow

2008-12-22 Thread Martin ZvarĂ­k
Hello, anyone has a good function for getting a user's browser, OS and crawler detection ? I have looked at google etc, but I ran only into long list of ineffective ereg()s functions or not checking if it's crawler... Is it possible to make an array list and just check using strpos() each on

RE: [PHP] get_browser and $_SERVER info from an IFRAME[Scanned]

2004-07-14 Thread Michael Egan
PROTECTED] > Subject: Re: [PHP] get_browser and $_SERVER info from an > IFRAME[Scanned] > > > I.A. Gray wrote: > > >Hi, > > > >I have a php webstats script that puts info into a MYSQL database. I > >include it at the top of each page that I have. &g

RE: [PHP] get_browser and $_SERVER info from an IFRAME[Scanned]

2004-07-14 Thread Michael Egan
> Sent: 14 July 2004 15:31 > To: [EMAIL PROTECTED] > Subject: [PHP] get_browser and $_SERVER info from an IFRAME[Scanned] > > > Hi, > > I have a php webstats script that puts info into a MYSQL database. I > include it at the top of each page that I have. I recentl

Re: [PHP] get_browser and $_SERVER info from an IFRAME

2004-07-14 Thread raditha dissanayake
I.A. Gray wrote: Hi, I have a php webstats script that puts info into a MYSQL database. I include it at the top of each page that I have. But is it really needed? surely a web log analyser is more efficient . If your hosting company does not provide you access to raw log files you are being ri

[PHP] get_browser and $_SERVER info from an IFRAME

2004-07-14 Thread I.A. Gray
Hi, I have a php webstats script that puts info into a MYSQL database. I include it at the top of each page that I have. I recently put a php built forum (PHPBB) on our website and wanted to include the php script at the top of that. Unfortunately as it already uses sessions, I kept on getting

RE: [PHP] get_browser() - browscap.ini for Linux

2004-03-11 Thread XMG
On Wed, 10 Mar 2004, Shaunak Kashyap wrote: > I downloaded the file from www.GaryKeith.com and set up the php.ini entry to > point to it. Then I called get_browser() and it returned nothing. > > Once again, my configuration is as under: > > OS: Linux Red Hat Enterprise WS > PHP: 4.2.3 > Web serv

RE: [PHP] get_browser() - browscap.ini for Linux

2004-03-10 Thread Shaunak Kashyap
TECTED] > Subject: Re: [PHP] get_browser() - browscap.ini for Linux > > > On Wed, Mar 10, 2004 at 02:21:19PM -0500, Shaunak Kashyap wrote: > > I am running Apache 1.3.29 on a Linux platform. I am trying to use PHP's > > get_browser function which needs a file called bro

Re: [PHP] get_browser() - browscap.ini for Linux

2004-03-10 Thread James Kaufman
On Wed, Mar 10, 2004 at 02:21:19PM -0500, Shaunak Kashyap wrote: > I am running Apache 1.3.29 on a Linux platform. I am trying to use PHP's > get_browser function which needs a file called browscap.ini on the server. > It *seems* that there is no such file available for Linux (I have checked > the

RE: [PHP] get_browser() - browscap.ini for Linux

2004-03-10 Thread Chris W. Parker
Shaunak Kashyap on Wednesday, March 10, 2004 11:21 AM said: > I am running Apache 1.3.29 on a Linux platform. I am trying to use > PHP's get_browser function which needs a file called browscap.ini on > the server. It *seems* that there is no such file available for L

[PHP] get_browser() - browscap.ini for Linux

2004-03-10 Thread Shaunak Kashyap
I am running Apache 1.3.29 on a Linux platform. I am trying to use PHP's get_browser function which needs a file called browscap.ini on the server. It *seems* that there is no such file available for Linux (I have checked the manual and the link that it mentions). Can anyone point me to a source f

[PHP] get_browser() problem ?

2002-03-29 Thread R'twick Niceorgaw
Hi all, I'm trying to get some info from get_browser() function. But, I'm getting a page can not be displayed error. The script is a simple one as give below. My hosting comapny says, get_browser() works on their system and there must be some error in my script but I couldn't find any error. Can s

Re: [PHP] get_browser();

2002-02-19 Thread Gary
Greg Donald wrote: >>>Use this to identify Netscape 4.x: >>> >>>if(strstr($HTTP_USER_AGENT,"Mozilla/4") && >>>!strstr($HTTP_USER_AGENT,"MSIE")){ >>>// is Netscape 4 >>>} else { >>>// is something else >>>} >>> >>Is that going to catch the Mozilla spoofers, like webtv and opera? >> > >Err,

Re: [PHP] get_browser();

2002-02-18 Thread Greg Donald
> > Use this to identify Netscape 4.x: > > > > if(strstr($HTTP_USER_AGENT,"Mozilla/4") && > > !strstr($HTTP_USER_AGENT,"MSIE")){ > > // is Netscape 4 > > } else { > > // is something else > > } > > > > Is that going to catch the Mozilla spoofers, like webtv and opera? Err, no... if they

Re: [PHP] get_browser();

2002-02-18 Thread Gary
Greg Donald wrote: >>Ultimately, I'm trying to figure out how I can determine if the >>user is using NS 4.x or not... >> > > Use this to identify Netscape 4.x: > > if(strstr($HTTP_USER_AGENT,"Mozilla/4") && > !strstr($HTTP_USER_AGENT,"MSIE")){ > // is Netscape 4 > } else { > // is som

Re: [PHP] get_browser();

2002-02-18 Thread Greg Donald
> Ultimately, I'm trying to figure out how I can determine if the > user is using NS 4.x or not... Use this to identify Netscape 4.x: if(strstr($HTTP_USER_AGENT,"Mozilla/4") && !strstr($HTTP_USER_AGENT,"MSIE")){ // is Netscape 4 } else { // is something else } -

Re: [PHP] get_browser();

2002-02-18 Thread Erik Price
On Monday, February 18, 2002, at 12:47 PM, Chris Boget wrote: > > Isn't working as described in the example output provided on > the page. In fact, half the time, get_browser() is returning > nothing. And HTTP_USER_AGENT is only returning: > > Mozilla/4.7 [en] (Win95; I) > > for Netscape. Why

RE: [PHP] get_browser();

2002-02-18 Thread Alastair Battrick
; To: [EMAIL PROTECTED] > Subject: [PHP] get_browser(); > > > The following example that is in the onsite documentation: > > function list_array ($array) { > while (list ($key, $value) = each ($array)) { > $str .= "$key: $value\n"; > } > retu

[PHP] get_browser();

2002-02-18 Thread Chris Boget
The following example that is in the onsite documentation: $key: $value\n"; } return $str; } echo "$HTTP_USER_AGENT\n"; $browser = get_browser(); echo list_array ((array) $browser); ?> Isn't working as described in the example output provided on the page. In fact, half the time, get_bro

[PHP] get_browser

2001-03-11 Thread GBuschbeck
Hi! I've a problem with "get_browser" i got the browscap.ini from http://www.cyscape.com/browscap/  and installed it in: /usr/local/lib/browscap.ini then i added browscap = /usr/local/lib/browscap.ini in the php.ini but $test = get_browser(); echo $test; gives an empty response. i've use