|
3#
楼主 |
发表于 2008-8-26 18:17:48
|
只看该作者
下面是脚本 ,搞不懂呢,这也是在提交web 的请求中吧?
web_submit_data("product.cz",
"Action=http://www.cmp-one.com/myaccount/sdi/product.cz?method=postBuyingLeads",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/html",
"Referer=http://www.cmp-one.com/myaccount/sdi/render.cz?method=postBuyingLeads",
"Snapshot=t18.inf",
"Mode=HTML",
ITEMDATA,
"Name=productType", "Value=BUYING", ENDITEM,
"Name=name", "Value={product}", ENDITEM,
"Name=categoryId", "Value=1153", ENDITEM,
"Name=fieldI02", "Value=", ENDITEM,
"Name=fieldI03", "Value=", ENDITEM,
"Name=fieldI04", "Value=", ENDITEM,
"Name=fieldI05", "Value=", ENDITEM,
"Name=file2", "Value=", "File=Yes", ENDITEM,
"Name=file3", "Value=", "File=Yes", ENDITEM,
"Name=file4", "Value=", "File=Yes", ENDITEM,
"Name=file5", "Value=", "File=Yes", ENDITEM,
"Name=imageUrl", "Value=/content/ff8081811b6c845b011b6cfa04820006/images/5838.gif;", ENDITEM, //上传图片就这一句,其它都是文本框提交的数据
"Name=longDescription", "Value=<p>fafdafdafdaf</p>", ENDITEM,
"Name=userfulDay", "Value=10", ENDITEM,
"Name=uom", "Value=涓\\xAA", ENDITEM,
"Name=currencyType", "Value=CNY", ENDITEM,
"Name=price", "Value=34", ENDITEM,
"Name=quantity", "Value=3", ENDITEM,
"Name=minOrderQuantity", "Value=2", ENDITEM,
"Name=shippingTerm", "Value=1", ENDITEM,
"Name=isSubscribeLead", "Value=", ENDITEM,
"Name=subscribeKeyword", "Value=绾告祮", ENDITEM,
LAST); |
|