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] -- 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]