I am trying to use PHP enbedded in WML code. Just to make sure all is well with the wap site server set up I tried the following code in a .wml. However whenever I try to access this page I get the error "Services: Page not available"
Can anyone help?
<?php
header("Content-type: text/vnd.wap.wml");
print "<?xml version=\"1.0\"?>\n";
print "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
print "<wml>\n";
print "<card>\n";
print "<p>Text by PHP</p>\n";
print "</card>\n";
print "</wml>\n";
?>