1. car.php源码
<?php
header("Content-Type: text/vnd.wap.wml;charset=utf-8");
echo"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"
http://www.wapforum.org/DTD/wml_1.1.xml\">";
echo "<wml>";
echo "<head>";
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\"/>";
echo "</head>";
echo "<card title='测试'>
<p>";
echo "<input name='cs' maxlength='' value=''/><br/><anchor>测试<go method='post' href='./'>
<postfield name='cs' value='$(cs)'/></go></anchor><br/><a href='../'>返回网站首页</a></p></card></wml>";
?>
11.
@isehu,第一个可能强制有广告,导致header发送失败,网页被认为是html。
12. 第一个不是标准的WML页面,可能是由于主机商在页面尾部强制添加的代码有关。