wml 问题
来源:百度知道 编辑:UC知道 时间:2024/09/23 20:45:39
<anchor>搜网页<go href="/s" method="get">
<postfield name="word" value="$(word)"/>
<postfield name="ssid" value="0"/>
<postfield name="bd_page_type" value="1"/>
<postfield name="st" value="111040"/>
<postfield name="uid" value="frontui_1246462790_835"/>
<postfield name="vit" value="tj"/>
<postfield name="wtn" value="wswml"/>
<postfield name="from" value="0"/>
</go>
</anchor>|
帮忙解释一下上面的代码
要详解
上面的是
wap.baidu.com中的一段代码
想知道每个属性的用处
<postfield name="word" value="$(word)"/>
<postfield name="ssid" value="0"/>
<postfield name="bd_page_type" value="1"/>
<postfield name="st" value="111040"/>
<postfield name="uid" value="frontui_1246462790_835"/>
<postfield name="vit" value="tj"/>
<postfield name="wtn" value="wswml"/>
<postfield name="from" value="0"/>
</go>
</anchor>|
帮忙解释一下上面的代码
要详解
上面的是
wap.baidu.com中的一段代码
想知道每个属性的用处
这是BAIDU自己定的字段名
你管他什么属性用处?你除非知道他“/S”这个接收页面的源代码
<go href="/s" method="get">
提交到 /S页面 方法GET
<postfield name="word" value="$(word)"/>
NAME是字段名 value$(word) 是取INPUT NAME=WORD的输入框值
后台页面可以用reqeust取得这个值
<postfield name="bd_page_type" value="1"/>
NAME是字段 值固定为1
后台页面可以用reqeust取得这个值
下同
GOOD LUCK