Hi all,
I’m not sure this is the right forum to ask anything about WML or WAP, but i hope someone know abit can help me here. My question is, i have this simple PHP code that will display result on WAP phone, but i’m not sure how to execute the file. I have the PHP server ready and WML phone simulator installed. Any idea? Many thanks
<?php
header("Content-type: text/vnd.wap.wml");
print "<?xml version=\"1.0\"?>
";
print "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">
";
print "<wml>
";
print "<card>
";
print "<p>Hello world</p>
";
print "</card>
";
print "</wml>
";
?>