×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    Embedding PHP in WML

    Posted by Gregory Bright, gregb@mcom8.com
    on November 13, 2000 at 23:40

    When using the Nokia Toolkit 2.0, what is the correct syntax that is required at the beginning of a WML file to enable the embedding of PHP code? I believe the Nokia Toolkit does support PHP, correct?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    RE: Embedding PHP in WML

    Posted by Jeroen Wouda, J.Wouda@libertel.nl
    on November 17, 2000 at 17:28

    Just put this in the first line of your PHP script:
    header("Content-type: text/vnd.wap.wml"
    echo "";
    ?>

    And the rest can be "normal" WML

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •