PDA

View Full Version : wml, nokia toolkit, mysql, apache



skyloon
28-04-2004, 04:41 PM
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? 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>

carlosjimenez17
01-04-2006, 04:49 PM
Estoy usando el nokia toolkit, inserto el codigo php con wml y siempre me sale el mismo error : falta elemento de raiz de documento.
estoy usando appserver(apache+php+mysql).
he intentado de todo. y no he podido.
porfavor ayudenme.

I am using the nokia toolkit, I insert the code php with wml and it always leaves me the same error: it lacks element of document root.
I am using appserver(apache+php+mysql).
I have attempted of everything. and I have not been able to.
please helps me.