Contributor: Tanto
Wireless Markup Language (WML) is used to communicate with web browsers embedded within wireless devices and is based on XML.
WML, which operates via a Wireless Application Protocol (WAP), is rapidly gaining popularity among developers such as AOL and Yahoo. WML/WAP technology is being developed to provide wireless users with games, information and email services, instant messaging, and a variety of other applications.
This tutorial shows you how you can use PHP in conjunction with WML to serve dynamic content to a WAP-enabled wireless device.
The sample code illustrates several facets of user interaction via a wireless web browser, including:
- Performing basic insertions of dynamic content (such as a date).
- Sending email.
- Interacting with a MySQL database.
Although PHP-enhanced WML applications can be developed and served on any web server, the Apache web server will be featured in this tutorial as the model from which to do so