PHP and wml help
| From: | Barry Logan | Date: | Wed, 12 Jul 2000 18:08:16 +0000 |
| Subject: | PHP and wml help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6203@lists.php.net to get a copy of this message | ||
Ive created a simple PHP/MySQL/wml program which works fine on the
Klondike WML browser.
First a .wml page is displayed which calls a .php3 page that returns
formatted MySQL stuff.
On the Ericsson R380 emulator at gelon.net the .wml page displays but
the .php3 generate the following error:
Error
no WML page found
code: 200
Content-Type: text/html
I've tried several WAP phone emulators and none will work.
Has anyone successfully used PHP with a WAP phone or emulator?
Here is the PHP code:
<?php
echo "<?xml version='1.0' encoding='ISO-8859-1'?>";
echo "<!DOCTYPE wml PUBLIC '-//WAPFORUM//DTD WML 1.1//EN'
'http://www.wapforum.org/DTD/wml_1.1.xml'>";
?>
Thanks for your help,
--
Barry Logan blogan@blue-cove.com