Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User foxmask's Avatar
    Join Date
    Mar 2003
    Posts
    6
    Hi,
    i make a very short php page as follow

    <?
    echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
    ?>
    <wml>
    <card id="test">
    <p>
    Hello World :)
    </p>
    </card>
    </wml>

    with the Mobile Internet Toolkit i can you the meulators and browse to this page without any problem ; but if i use the 7650 i get the error 500...
    Any idea ?

    PS: Apache is the webserver i use.

  2. #2
    Registered User samsalmi's Avatar
    Join Date
    Mar 2003
    Posts
    38
    Hmm,

    Just know very little about the PHP, try without setting the encoding in XML declaration line (first line). WML 1.1 declaration on the second line should be OK for 7650 -- I tried with the following "headers" and got it work fine:

    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">

    Have you configured/added text/vnd.wap.wml to you Apache web server as a MIME content type? It should be there by default, at least in the later ones of Apache releases.

    Hope this helped.

    Best Regards,

    Samuli/Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved