T
Tab
Unregistered / Unconfirmed
GUEST, unregistred user!
用GET方法的URL参数长度不能超过255个字节;
偶知道用POST方法传送的数据量大些,几十K的文章应该没问题的。
可是我如下用:(我用的是CBC5)
url="http://192.168.1.5/updown/card.php3";
s="userid=" + userid + "&name=" + name + "&company=" + company + "&caption=" + caption + "&compadd=" + compadd +
"&compphone=" + compphone + "&fax=" + fax + "&compweb=" + compweb + "&homeadd=" + homeadd +
"&homephone=" + homephone + "&handphone=" + handphone + "&personweb=" + personweb +
"&email=" + email + "&call=" + call + "&icq=" + icq + "&nickname=" + nickname + "&sex=" + sex +
"&birthday=" + birthday + "&memday=" + memday + "&favorite=" + favorite + "&specialty=" + specialty +
"&remark=" + remark;
NMHTTP1->Post(url,s); //这里若用GET只能传上部分参数内容;
结果PHP3并没有接受到这些参数的内容,请问问题出在哪里?
偶知道用POST方法传送的数据量大些,几十K的文章应该没问题的。
可是我如下用:(我用的是CBC5)
url="http://192.168.1.5/updown/card.php3";
s="userid=" + userid + "&name=" + name + "&company=" + company + "&caption=" + caption + "&compadd=" + compadd +
"&compphone=" + compphone + "&fax=" + fax + "&compweb=" + compweb + "&homeadd=" + homeadd +
"&homephone=" + homephone + "&handphone=" + handphone + "&personweb=" + personweb +
"&email=" + email + "&call=" + call + "&icq=" + icq + "&nickname=" + nickname + "&sex=" + sex +
"&birthday=" + birthday + "&memday=" + memday + "&favorite=" + favorite + "&specialty=" + specialty +
"&remark=" + remark;
NMHTTP1->Post(url,s); //这里若用GET只能传上部分参数内容;
结果PHP3并没有接受到这些参数的内容,请问问题出在哪里?