Abyss Web Server X1 with PHP5.05 - BrowserDetection?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
realjobe
-


Joined: 18 Oct 2005
Posts: 8

PostPosted: Tue Oct 18, 2005 7:02 am    Post subject: Abyss Web Server X1 with PHP5.05 - BrowserDetection? Reply with quote

I have installed PHP v5.05 (http://www.php.net/downloads.php) to Abyss Web Server X1.

System works great and PHP tech produces pages in order.
I have tried to utilize http://www.apptools.com/phptools/browser/
"Browser Detection with PHP" but the PHP hails some errors refering to HTTP_agent or so.

What do i Have to configure to WebServer in order to get this to work?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Oct 18, 2005 4:28 pm    Post subject: Re: Abyss Web Server X1 with PHP5.05 - BrowserDetection? Reply with quote

realjobe wrote:
What do i Have to configure to WebServer in order to get this to work?

If the server does not receive a "User-Agent" header from the browser, it cannot transmit any HTTP_USER_AGENT variable to PHP.
User-Agent is often not disclosed by browsers when there are privacy concerns (or privacy tools installed on the visitor computer). Some corporate proxies remove it also for the same reason.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
realjobe
-


Joined: 18 Oct 2005
Posts: 8

PostPosted: Mon Oct 31, 2005 9:48 am    Post subject: Re: Abyss Web Server X1 with PHP5.05 - BrowserDetection? Reply with quote

aprelium wrote:
realjobe wrote:
What do i Have to configure to WebServer in order to get this to work?

If the server does not receive a "User-Agent" header from the browser, it cannot transmit any HTTP_USER_AGENT variable to PHP.
User-Agent is often not disclosed by browsers when there are privacy concerns (or privacy tools installed on the visitor computer). Some corporate proxies remove it also for the same reason.
Thank you. It's working now. :)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group