Anyone could suggest me about this little 'hello world' PHP & wml page I'm attaching ? It doesn't work and I keep getting a 'compiler error' on my siemens s45 and with the sdk 5.1, whereas it works perfectly if I run the page with Gelon wap simulator...
I hosted it on a php3 enabled free space, Lycos. You can find it here:
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<card id="Card1" title="Wap-UK.com">
<!-- Hello World example -->
Your WML code looks fine. It might be that your compiler doesn't understand the PHP code and that's why returns error message. Try however to replace your header with the following code and change the DTD version to WML 1.3 if you like.
Also notice that PHP outputs possible error messages as HTML, which a WML browser will not understand.