J'essaie de creer un fichier WML avec du code PHP a l'interieur mais a l'execution sa ne marche pas.
Pourriez vous m'aider?
CODE WML
Code : Tout sélectionner
<?php
header("Content-type: text/vnd.wap.wml");
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
<card>
<p>
<?php echo "Welcome to your PHP based WAP site..."; ?>
</p>
</card>
</wml>Code : Tout sélectionner
AddType text/vnd.wap.wml wml
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlscriptc
AddType image/vnd.wap.wbmp wbmp
Lien pour tester
http://wap.abidjantivi.com/test1.wml