Market Data Analyst (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume

Building dynamic WML sites
Cellular phones supporting WAP are slowly, but constantly spreading. Therefore, it could be time for you to start building your WML pages to access internet databases. As such, we will show you how to build PHP/WML pages to access a MySQL database which contains professors' receiving hours and exams timetables for a University. I'm testing a beta service of this kind, prepared with Vitaveska Lanfranchi, at www.scidecom.it.
There are some things you need to know before starting. First, we are assuming that:
  1. You have correctly installed PHP and MySQL, and you have some experience in programminng with both languages. Your database needs to be properly installed as well.
  2. You have some knowledge of SQL; I suggest reading Database Normalization and Design Techniques.
  3. You are running Apache and you can write .htaccess files; or you are running IIS and you can add mappings (or you can ask the system administrator to do it for you).
  4. You have some experience with WML; I suggest reading Introduction to WML, Apache, and PHP.
The first step is telling your server to process WML pages with PHP. Let's see how to do it.
Setting up the server
If you are using Apache, you have to look for a .htaccess file in your home directory. Then, you need to write the following lines in it:
<limit get post>
AddType application/x-httpd-php3 .wml
</limit>
If you don't have a file .htaccess, simply write these lines in a text editor and save the result as .htaccess in your home directory.
If you are using IIS instead, you have to do the same you did when you installed PHP in your server: look at the mappings of .php and .php3 extensions and do the same for .wml extension.
Commonly you will find PHP mapped onto:
C:\php\php4isapi.dll
or
C:\php\php.exe

[ Next Page ]


Comments:
help...starting out on waphuggins02/07/05 05:28
help mehuggins02/04/05 05:53
online emulator VS Mobilephonegottaged12/09/04 11:48
AyudaNathali12/07/04 15:59
mysql and wml questionsylvie11/26/04 05:41
getting php to work with wml on apache2michael09/01/04 09:42
free free freesalahuddin saeed03/09/03 14:18
RE: Help !!! WML with PHP doesen't workkevin11/26/02 21:27
RE: vars in wmlSpencer10/01/02 23:07
To make all this simpler:skynet09/29/02 19:28
Construction TechnologyNyengule Dumisa09/17/02 15:41
RE: HELP MERick09/09/02 07:54
RE: HELP MERick09/06/02 16:17
RE: HELP MERick09/06/02 13:15
RE: HELP MERick09/06/02 12:52
Nokia phones & PHP + WMLMLS08/27/02 08:19
RE: HELP MEMonkey Harris08/01/02 10:56
RE: <postfield> tagMelkor06/24/02 22:37
This guy is a jerkMelkor06/24/02 22:11
WML error: not well-formedgiuseppissimo06/15/02 06:35
WAP works without gateway, errors with Alberto04/22/02 14:35
.pwml and .wmlfred04/09/02 13:17
Help !!! WML with PHP doesen't workMonica04/08/02 12:59
vars in wmlRichard D. Williams03/11/02 15:56
the real setup of wml sitemadjed03/04/02 09:56
trouble in compilation of your exemplemadjed02/25/02 05:50
Congratulations for all!!!!Pepe02/22/02 18:26
.htaccess creationGarthfield Carter02/15/02 05:42
RE: WAP kit for LINUXabubaker mohammed02/12/02 12:36
How to Use nokia tool kit dll in .Net compactManjusha02/05/02 02:14
RE: HELP MEpofo01/31/02 09:09
HELP MEaasim01/25/02 17:44
NEW .htaccess configurationAndres01/21/02 05:57
Chat pageMuzz01/16/02 17:53
Simple wm/php/mysql retrieval neededTom Hicks01/09/02 09:49
RE: Nokia tool kit and PHP?{Greenster}12/05/01 12:33
help: invalid element{Greenster}12/05/01 12:33
help: invalid element{Greenster}12/05/01 12:32
help: invalid element{Greenster}12/05/01 12:32
mysql INSERT statement with wmljanis10/25/01 23:28
How to upload picture to MsAccess97 databasejacky10/18/01 00:39
<postfield> tagFrank09/26/01 19:56
RE: Nokia tool kit and PHP?Laurent09/06/01 04:59
Nokia tool kit and PHP?Josué Marchiani08/13/01 12:18
HElp!!....Loris08/12/01 23:30
commentaire 1badra08/10/01 14:34
question:user input and file extensionfamada07/02/01 14:46
I find what I am eager to getGang Zhan06/17/01 18:01
My wap work aroundErv06/08/01 11:17
RE: What means 'Pragma'???gary mailer05/23/01 15:50
RE: What means 'Pragma'???gary mailer05/23/01 15:49
mimetypesPeter05/16/01 19:45
mimetypesPeter05/16/01 10:09
What means 'Pragma'???Roman Locher04/20/01 11:01
RE: mysql insert statements with wmlpeterg04/17/01 04:43
Wap without MYSQL??brad04/13/01 14:44
RE: Can I have WML without WAP gateway?Hasnain Zafar Baloch04/04/01 05:55
mysql insert statements with wmlbren03/27/01 15:26
Unable to run query.wmlsandeep k mundra03/27/01 02:56
RE: Can I have WML without WAP gateway?Andres03/24/01 05:37
RE: .htaccess questionAndres03/24/01 05:37
RE: PLEASE HELPAndres03/24/01 05:25
PLEASE HELPJesse Lee03/21/01 12:08
.htaccess questionJesse lee03/21/01 11:27
interesting application of WAP!Sameer Verma03/13/01 04:21
Can I have WML without WAP gateway?Bingo03/01/01 05:22
offline vs. online database access?gromit02/28/01 06:25
RE: WAP kit for LINUXShanx02/24/01 22:20
Web based WAP BrowserWayne Abbott02/22/01 09:14
RE: WAP kit for LINUXTom Anderson02/22/01 08:53
RE: WAP kit for LINUXManuel Durán Aguete02/22/01 08:25
WAP kit for LINUXdinny02/21/01 23:48
WAP KITharvail02/21/01 20:01
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.

 

Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs