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

From: Date: Mon, 06 Nov 2000 09:18:34 +0000
Subject: help !!!why my wml can't work with php?
Groups: php.general 
Request: Send a blank email to php-general+get-23861@lists.php.net to get a copy of this message
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/

« previous php.general (#23861) next »