Re: PHP and wml help

From: Date: Thu, 13 Jul 2000 03:17:52 +0000
Subject: Re: PHP and wml help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6374@lists.php.net to get a copy of this message
Put this before the xml line. header("Content-type: text/vnd.wap.wml"); Data Driven Design P.O. Box 1084 Holly Hill, FL 32125-1084 Phone : (904) - 226-8979 URL : http://www.datadrivendesign.com URL : http://www.rossidesigns.net ----- Original Message ----- From: "Barry Logan" <blogan@blue-cove.com> To: <php-general@lists.php.net> Sent: Wednesday, July 12, 2000 2:08 PM Subject: [PHP] PHP and wml help > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#6374) next »