Re: [PHP] Browser language problem

2003-01-23 Thread Marek Kilimajer
use $_SERVER['HTTP_ACCEPT_LANGUAGE'] John M wrote: Hello, I have the code below, but it doesn't work. I see the message "It is an array" but nothing else. What can be the problem? How can I get the actual browser language? I use WinXp Prof, Apache 2.0.43, PHP 4.2.3, safe_mode is on. Thanks!

[PHP] Browser language problem

2003-01-22 Thread John M
Hello, I have the code below, but it doesn't work. I see the message "It is an array" but nothing else. What can be the problem? How can I get the actual browser language? I use WinXp Prof, Apache 2.0.43, PHP 4.2.3, safe_mode is on. Thanks! -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Browser Language

2002-12-17 Thread Jeff
Thanks Johannes, I guess it throu me because it is a server var, not a remote var. Jeff "Johannes Schlueter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tuesday 17 December 2002 18:51, Jeff wrote: > Does anybody know how to get what language (en, fr, it, e

Re: [PHP] Browser Language

2002-12-17 Thread Johannes Schlueter
On Tuesday 17 December 2002 18:51, Jeff wrote: > Does anybody know how to get what language (en, fr, it, etc.) the users > browser is using? Have a look at $_SERVER["HTTP_ACCEPT_LANGUAGE"] This are the languages the user likes to read. johannes -- PHP General Mailing List (http://www.php.net/)

[PHP] Browser Language

2002-12-17 Thread Jeff
Does anybody know how to get what language (en, fr, it, etc.) the users browser is using? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php