Detecting lang on client machine (browser)

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

server...

Postby ruturajv » Tue Dec 02, 2003 12:04 am

Please try executing this on chinese and eng machines

Code: Select all

<?php
echo $_SERVER['HTTP_ACCEPT_LANGUAGE'];
?>


hope this helps :)

Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 2 guests