Question about user_agent-String

Waldo Bastian bastian at kde.org
Tue Dec 17 20:52:45 GMT 2002


On Tuesday 17 December 2002 09:06, Thorsten Steffen wrote:
> dear developers,
>
> First sry about me bad english, which i'm not used to write in.
> Im writing a Serveraccess-class in PHP, which should bring all needed
> informations for several projects about the community which uses the site.
> For one page, especially ist necessary tho know how many linux/unix user
> interessted in the software there provided.
> For that, need to analyse the HTTP_USER_AGENT String, for detecting
> platform and client. 

The default string in KDE 3.1.x will look like this:
	User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)

In KDE 3.0.x it looked like:
	User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux)

In KDE 2.2.2 it looked like:
	User-Agent: Mozilla/5.0 (compatible; Konqueror/2.2.2; Linux)

The "Linux" part is replaced with the actual name of the operating system as 
returned by "uname -s" (e.g. Linux, FreeBSD, etc.)

Cheers,
Waldo
-- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com





More information about the kfm-devel mailing list