language display problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shadiadi
Forum Newbie
Posts: 1
Joined: Sun Feb 07, 2010 8:13 pm

language display problem

Post by shadiadi »

Hi I am having a problem getting my server to display thai language I have been writing a script that calls a language .ini file to display language I thought i was going mad but I have figured out that in plain html it displays fine. The guys who run my server have recently changed their server I am wondering if they have not set it up properly?

for example this seems to work http://www.buyandsell123.com/test.html

Code: Select all

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="th" lang="th">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css; charset=utf-8" />
<title>???</title>
</head>
<body>
???
</body>
</html>
 
for example this seems to not work http://www.buyandsell123.com/test.php

Code: Select all

 
<?php
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="th" lang="th">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css; charset=utf-8" />
<title>???</title>
</head>
<body>
???
</body>
</html>
 
this is driving me nuts any help would be appreciated.
Post Reply