
skyloon
New User
Apr 28, 2004, 9:34 AM
Post #1 of 1
(1179 views)
|
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 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? 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>
|