Mezofi 0 Share Posted August 13, 2005 Sziasztok! Le lehet kérdezni a(z) user böngészõjének alapértelmezett nyelvét, php-vel? <?php echo $_SERVER['HTTP_USER_AGENT'] . "\n\n"; ?> Ezzel az a bajom, hogy az IE esetén nem írja ki sehova a nyelvet, a Firefox és az Opera kiírja, hogy "hu", vagy "en". Link to comment Share on other sites More sharing options...
Mezofi 0 Author Share Posted August 13, 2005 Igen. <?php echo $_SERVER['HTTP_ACCEPT_LANGUAGE'] . "\n\n<br>"; ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now