Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Introduction to WAP using WML (and PHP)
Apr 14, 2004 @ 12:06:52

In a new posting from DevShed.com this morning, there is an introduction to using one of the more misunderstood languages on the web today - WML/WAP and how to use them with PHP (oh, and ASP too...).

At the time of writing, WAP version 2.0 has just become a standard, so I thought that this article would be a great idea to show those of you who've never played around with WAP just what it can do and how easy it is to create WAP compatible content using WML, ASP or PHP.

In this article we will look at using the free OpenWave SDK to test some WML and WMLScript using a WAP emulator. We will also look at how to configure both IIS and Apache web servers so that they are capable of sending WML documents to any WAP compatible device that requests them.

They step you through setting up both an Apache server as well as IIS so you're not limited to one approach. Once that's set up, you can fire up the Openwave SDK and create the sample pages they show without having to mess with reloading each time on a mobile device. This is a good starting place, but there's so much to build on from there, especially with the power of PHP behind the scenes. Now, if only the next spec would support more layout options...

tagged:

Link:


Trending Topics: