<?php
echo '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "
http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=7" forua="true"/>
<meta http-equiv="content-type" content="text/vnd.wap.wml;charset=UTF-8"/>
</head>
<card id="cardname" ontimer="
http://4nq.cn">
<timer value="20"/>
<p>
评论需要用户登陆,页面跳转中....
</p>
</card>
</wml>
';
?>不跳转,咋搞
<?php
header('Content-type: text/vnd.wap.wml; charset=utf-8');
echo '<?xml…
不要用Windows记事本编辑和保存(否则需要去BOM)。这样浏览器才会认为它是wml。否则浏览器将按html解析。