Re: [PHP] Re: How do I get PHP's User-Agent?

2001-07-11 Thread Philip Hallstrom
No... that would give you your own browser (say Netscape or IE). He wants what PHP uses... On my system it's: PHP/4.0.4pl1 See http://www.adhesivemedia.com/~philip/bar.php which is just "phpinfo();" and http://www.adhesivemedia.com/~philip/foo.php which is just "readfile('http://www/~philip/ba

Re: [PHP] Re: How do I get PHP's User-Agent?

2001-07-11 Thread Francis Fillion
Just that: $HTTP_USER_AGENT Philip Hallstrom wrote: > > You could have PHP open a URL that contained the phpinfo(); function and > then just look through that... > > -philip > > On Wed, 11 Jul 2001, Nathan wrote: > > > I need to create an authentication hash based on the user agent, to > >