anyone know how to setup the nokia gateway to communicate with apache server?
when i key in localhost/test.wml in the SDK control panel, it show this error: Cannot load http://localhost/test.wml (HTTP Error 404 Not Found)
when i key in c:/phpweb/test.wml in the SDK control panel, it show this error: WML Encoder: Root element not declared (download/alternative DTD failed)
this is the test.wml file, any comments, need to do proxy setting? thank you....
<?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\">";
?>
<?php
include "fastwap.inc.php";
?>
<wml>
<card id="card1" title="firstpage" newcontext="true">
<p align="center">
<?php echo 'Hello World'; ?>
</p>
</card>
</wml>
All the possible text i also include in httpd file:
AddType application/x-httpd-php .wml
AddType application/x-httpd-php3 .wml
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType application/x-httpd-php3 .php3 .php .phtml .wml
AddType application/x-httpd-php3-source .phps
AddType text/vnd.WAP.WML WML
AddType text/vnd.WAP.WMLscript WMLs
AddType image/vnd.WAP.WBMP WBMP
AddType application/vnd.WAP.WMLc WMLc
AddType application/vnd.WAP.WMLscriptc WMLsc