×
Home About Us Products Services News Free Scripts Contact
news php scripts and software

PHP example - How to create a simple WAP page using PHP?


PHP - How to create a simple WAP page using PHP?

<?

header("Content-Type: text/vnd.wap.wml");

echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

?>

<wml>
<card id="hello">
<p>Today is

<?
echo date("m/d/Y");
?>

</p>
</card>
</wml>

Category: PHP

 
<< Go back