Hi I am trying to set up a wap site at the moment. Now I had it working
using plane old wml files and the like and that was cool. But now I have
decided to be a bit smarter as I wanted to have "Dynamic" content displayed,
ie news etc. SO what I am doing now is getting apache to parse all wml docs
as php files. And the php to tell the phone that its a wml doc is the
following:
<?
/* Send a wml header to client. *?
header("Content-type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\"?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"" .
" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
?>
However I am unsure as to how to go about handeling dbase connections. Is it
the same or could there be problems with some clients getting urls like:
index.wml?news=123
Any help welcome
Thanks
Aj
Anton Mc kee
Broadcom Eireann Research ltd
Kestrel House
Clanwilliam Place
Dublin 2
Phone +353 (0)1 6046052
http://www.broadcom.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!