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

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
As Richard Davey has pointed out - there is no reason why your approach in itself would cause the error message you are getting. I did a similar thing with a site I created and was plagued with similar error messages but the problem wasn't due to sessions but due to the way in which I tried to

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

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

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
Have you got the browscap.ini file installed properly ? and have you got a up to date version of browscap.ini ? and What is reported by IE visitng the script ? Alastair > -Original Message- > From: Chris Boget [mailto:[EMAIL PROTECTED]] > Sent: 18 February 2002 17:48 > To: [EMAIL PR