|
如题:
web_submit_data("Standard.aspx",
"Action=http://www.glbpay.com:81/gateway/Payment/Standard.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTTP",
ITEMDATA,
"Name=MERCHANTID", "Value=00000000000000000117", ENDITEM,
"Name=ORDERID", "Value=123456", ENDITEM,
"Name=UILANG", "Value=zh-cn", ENDITEM,
"Name=CALLBACKURL", "Value=http://www.glbpay.com:81/Gateway/Test/MerchantServer.htm", ENDITEM,
"Name=ORDERDATE", "Value=20110803173109", ENDITEM,
"Name=PAYCURRENCY", "Value=CNY", ENDITEM,
"Name=PAYAMOUNT", "Value=1234567.89", ENDITEM,
"Name=MARKAMOUNT", "Value=", ENDITEM,
"Name=MARKCURRENCY", "Value=", ENDITEM,
"Name=REQUESTDSATYPE", "Value=1", ENDITEM,
"Name=PRODUCTS", "Value=MyProduct:100;", ENDITEM,
"Name=REMARK1", "Value=my商户备注1", ENDITEM,
"Name=REMARK2", "Value=my商户备注2", ENDITEM,
"Name=REMARK3", "Value=my商户备注3", ENDITEM,
"Name=SYSINTERFACEVERSION", "Value=1.0.0.0", ENDITEM,
"Name=CUSTOMEREMAIL", "Value=ddd@dd.com", ENDITEM,
"Name=CUSTOMERDELIVERYADDRESS", "Value=CUSTOMERDELIVERYADDRESS!", ENDITEM,
"Name=CUSTOMERADDRESS", "Value=CUSTOMERADDRESS!", ENDITEM,
"Name=CUSTOMERBILLINGADDRESS", "Value=CUSTOMERBILLINGADDRESS!", ENDITEM,
"Name=CUSTOMERBILLINGCITY", "Value=CUSTOMERBILLINGCITY!", ENDITEM,
"Name=CUSTOMERBILLINGPROVINCE", "Value=CUSTOMERBILLINGPROVINCE!", ENDITEM,
"Name=CUSTOMERBILLINGCOUNTRY", "Value=CUSTOMERBILLINGCOUNTRY!", ENDITEM,
"Name=CUSTOMERPHONE", "Value=CUSTOMERPHONE!", ENDITEM,
"Name=REQUESTDS", "Value=9fd081fb4ab6bd27967ad097c0fc8306", ENDITEM, LAST);
我要把ITEMDATA中的value值都取出来拼成一个字符串,因为要用这个字符串生成密文,最后赋到 "Name=REQUESTDS" 的value中,请问要怎么实现啊?小弟实实在在的新人啊,这两天搞个测试搞的头都大了,请各位高手帮帮忙呀,小弟感激不尽啊! |
|