The HTTP_ACCEPT_LANGUAGE has nothing to do with location. Is it called HTTP_USER_POSITION? No. It's a code of the _language_ (well, actually, list of codes of languages, along with their preference weights (if that's the right word) that a user can set to _anything_ in their browser. Example: en-us,en-gb;q=0.7,cs;q=0.3 header sent along with a request for http://www.somewhere.tld/index.html means I want the document in US English or UK English, and when it's not available, in Czech. If none of these is available, I will get it in whatever language it's available in. And, of course, the server must be set up to grok this kind of negotiation. At 16:45 11.1. 2001, Sam wrote the following: -------------------------------------------------------------- >Yeah, but there are three locations that I have which are UK, US and >Australia. Each of them have different en-??. Well on IE anyway. > >So I'm not sure which way to go about this. > >-----Original Message----- >From: Cynic [mailto:[EMAIL PROTECTED]] >Sent: Thursday, January 11, 2001 3:12 PM >To: Sam; '[EMAIL PROTECTED]' >Subject: Re: [PHP] Netscape does not show all the variables > > >you won't find out anything useful this way. I'm Czech (central >Europe), and have en-us at the first position in the list of >preferred languages. > >At 15:53 11.1. 2001, Sam wrote the following: >-------------------------------------------------------------- >>Hi all, >> >>when I use IE, and do a phpinfo() >> >>The variable >>HTTP_ACCEPT_LANGUAGE displays en-gb (for english GB) >> >>But Netscape only displays en... >> >>The problem is, is that I want to know where visitors to my site are coming >>from i.e. UK, US, Australia, so that I can do a bit of php so that the >>relevant information is produced. >> >>Is there anyway to do this, using php? >> >>Thanks >> >>Sam Rose >> >> >>___________________________________________________________________________ >_ >>________________________________________________________________ >> >>The information in this email and in any attachments is confidential and >may >>be privileged. If you are not the intended recipient, please destroy this >>message, delete any copies held on your systems and notify the sender >>immediately. You should not retain, copy or use this email for any purpose, >>nor disclose all or any part of its content to any other person. >> >> >>-- >>PHP General Mailing List (http://www.php.net/) >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >>To contact the list administrators, e-mail: [EMAIL PROTECTED] >------end of quote------ > > > >____________________________________________________________ >Cynic: > >A member of a group of ancient Greek philosophers who taught >that virtue constitutes happiness and that self control is >the essential part of virtue. > >[EMAIL PROTECTED] ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]