新手关于discuzx2模块制作的若干问题
登陆地址后缀:/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1来源页面后缀:/
post登陆数据:fastloginfield=username&username=[用户名]&password=[密码]&quickforward=yes&handlekey=ls
成功标志:欢迎
发表地址后缀:/portal.php?mod=portalcp&ac=article
来源页面后缀:/portal.php?mod=portalcp&ac=article&catid=[分类ID]
发表post:title=[标签:标题]&highlight_style=&highlight_style=&highlight_style=&highlight_style=&pagetitle=&from_idtype=tid&from_id=0&from_button=<EM>获取</EM>&id=0&idtype=tid&url=&author=&catid=12&from=[标签:出处]&fromurl=&dateline=&conver=&content=<DIV>[标签:内容]</DIV>&summary=&articlebutton=<STRONG>提交</STRONG>&aid=&cid=&attach_ids=0&articlesubmit=true&formhash=[登录随机值X]
成功标示:发表成功
孤魂 发表于 2011-11-10 13:56 static/image/common/back.gif
e&formhash=[登录随机值X]
X应该改成数值,看你的登录随机值的编号是多少来着
我已经改好了:title=[标签:标题]&from_idtype=tid&from_id=0&from_button=<EM>获取</EM>&id=0&idtype=tid&url=&author=&catid=[分类ID]&from=[标签:出处]&fromurl=&dateline=&conver=&content=<DIV>[标签:内容]</DIV>&summary=&articlebutton=<STRONG>提交</STRONG>&aid=&cid=&attach_ids=0&articlesubmit=true&formhash=1cf2b068
但是还是那个错误提示,返回结果代码是:<div id="ct" class="wp cl w">
<div class="nfl">
<div class="f_c altw">
<div id="messagetext" class="alert_error">
<p>抱歉,您的请求来路不正确或表单验证串不符,无法提交</p>
<script type="text/javascript">
if(history.length > (BROWSER.ie ? 0 : 1)) {
document.write('<p class="alert_btnleft"><a href="javascript:history.back()">[ 点击这里返回上一页 ] e&formhash=[登录随机值X]
X应该改成数值,看你的登录随机值的编号是多少来着 测试发表出现问题:“抱歉,您的请求来路不正确或表单验证串不符,无法提交” 请问我的发表post是不是错了,怎么改??? 这样 制作模块就不用接口了吧
页:
[1]