Re: help !!!why my wml can't work with php?

From: Date: Mon, 06 Nov 2000 17:19:31 +0000
Subject: Re: help !!!why my wml can't work with php?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-23923@lists.php.net to get a copy of this message
Either your PHP is set up wrong, or you may have white space at the top of the file. Or there is something else that I can't see from your example. -jeremy brand _______________________________________________________________________ GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9 _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more __ On Mon, 6 Nov 2000, forestwater wrote: > Date: Mon Nov 6 09:18:34 2000 > From: forestwater <forestwater@sina.com> > To: php-general@lists.php.net > Subject: [PHP] help !!!why my wml can't work with php? > > There is a problem with wml and php. > This is the source. > <?php > 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 "); > echo ("<wml> \n<card>\n <p>\n"); > echo ("hello world\n"); > echo ("</p>\n</card>\n</wml>\n"); > ?> > > but it can't work . > I test it with the phone.com up.simulator > The info it response is :"the content-type error" > "content-type:text/html is found ." > > > Please help me > Thank you very much. > ______________________________________ > > =================================================================== > ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn > ÐÂÀËÍÆ³ö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ > http://sms.sina.com.cn/ > > -- > 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 (#23923) next »