By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

navigator language ?

P: n/a
How to find the visitor navigator language?

Thanx :)

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com

Jul 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Yang Li Ke" <ya******@sympatico.ca> writes:
How to find the visitor navigator language?

Thanx :)


Have a look at $_SERVER['HTTP_USER_AGENT']

--
Julien CROUZET

Jul 16 '05 #2

P: n/a
Julien CROUZET aka c2c wrote:
"Yang Li Ke" <ya******@sympatico.ca> writes:
How to find the visitor navigator language?

Thanx :)


Have a look at $_SERVER['HTTP_USER_AGENT']


The user-agent HTTP header is unreliable. I don't think that was what the
OP was asking for though - I'm guessing it's the language somebody is
surfing in that he is after.

Check out $_SERVER['HTTP_ACCEPT_LANGUAGE'] instead.

--
Jim Dabell

Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.