Results 1 to 5 of 5
Thread: language of browser
Oct 24, 2001, 13:24 #1
language of browser
any ideas on how to detect the language of the users browser and then depending on that re-direct the user to different pages?
I know i can get apache to do this, but i need a solution which will work of a virtual account and does not require root access.
Oct 24, 2001, 13:51 #2
The languages accepted by a browser can be accessed with $HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"]
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
Oct 24, 2001, 13:59 #3
that would show the server language and not the user end.. right? since its HTTP_SERVER_VARS?i dunno...
Oct 24, 2001, 21:38 #4
- Join Date
- Jul 2001
- 0 Post(s)
- 0 Thread(s)
no, it's on the user's browser, just like $HTTP_SERVER_VARS['HTTP_USER_AGENT']. $HTTP_SERVER_VARS is just environment variables like Perl's %ENV hash.- Matt ** Ignore old signature for now... **
Dr.BB - Highly optimized to be 2-3x faster than the "Big 3."
"Do not enclose numeric values in quotes -- that is very non-standard and will only work on MySQL." - MattR
Oct 25, 2001, 02:09 #5
ah.. oh ok.. thanks...i dunno...