O'Reilly logo

Practical Web Technologies by V. Lau, P. K. Yuen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

21.5. WML applications with CGI and databases

21.5.1. Using Perl script to generate WML pages

From the structure of WAP and WML (see Fig. 21.1), we know that the communications between the WAP gateway and the WAP sites are using the standard HTTP. There is no reason why we cannot use CGI techniques on these WAP sites to deliver a WML page to the WAP gateway. In fact, in this section, we are going to do just that.

We will show you how to construct Perl and PHP scripts to deliver WML pages to a mobile device. Also, by opening up the CGI techniques to WML pages, a new chapter of applications can be created. All the skills that you have learned from this book are applicable to mobile devices. We will also show you how to connect to a MySQL database ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required