මම website එකක Contact Corm එකක් කරා. ඒක Japanese site එකක්.
මම PHP දන්නේ නෑ එච්චරම. මම use කරපු PHP form එකේ UNICODE support කරන්නේ නෑ



ඒ site එකට Japanese type support කරන්නේ නෑ.
මේක තම මම use කරපු PHP form එක.
මේක හදාගන්න විදියක් කියන්න පුලුවන්ද
මම PHP දන්නේ නෑ එච්චරම. මම use කරපු PHP form එකේ UNICODE support කරන්නේ නෑ




ඒ site එකට Japanese type support කරන්නේ නෑ.
මේක තම මම use කරපු PHP form එක.
මේක හදාගන්න විදියක් කියන්න පුලුවන්ද

Code:
[COLOR="red"]<?php[/COLOR]
$name=htmlentities($_POST['name']);
$email=htmlentities($_POST['email']);
$phone=htmlentities($_POST['phone']);
$message=htmlentities($_POST['message']);
// you can specify which email you want your contact form to be emailed to here
$toemail = [COLOR="red"]"[email protected]";[/COLOR]
$subject = [COLOR="red"]"Ana Enterprises - Contact Form";[/COLOR]
$headers =[COLOR="Red"] "MIME-Version: 1.0\n"[/COLOR]
[COLOR="red"]."From: \"".$name."\" <".$email.">\n"[/COLOR]
[COLOR="red"]."Content-type: text/html; charset=iso-8859-1\n"[/COLOR];
[COLOR="rgb(0, 191, 255)"]$body = [/COLOR]
[COLOR="Red"]"Name: [/COLOR]".$name."<br>\n"
[COLOR="red"]."Email:[/COLOR] ".$email."<br>\n"
[COLOR="red"]."Phone: [/COLOR]".$phone."<br>\n"
[COLOR="red"]."Message[/COLOR]: ".$message."<br>\n";
[COLOR="Blue"]mail[/COLOR]($toemail, $subject, $body, $headers);
[COLOR="YellowGreen"]echo[/COLOR] "<script type='text/javascript'>
<!--
window.location = 'thankyou.html'
//-->
</script>";
[COLOR="red"]?>[/COLOR]
</body>
</html>
Here is the complete code



