{
web_url("upload1.jsp",
"URL=http://www.msnshow.cn/flvlib/file/test/upload1.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_reg_save_param("Url",
"LB/IC=www.msnshow.cn\/flvlib\/file\/transaction\/process\/",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_submit_data("create",
"Action=http://www.msnshow.cn/flvlib/file/transaction/create/",
"Method=POST",
"RecContentType=text/html",
"Referer=http://www.msnshow.cn/flvlib/file/test/upload1.jsp",
"Snapshot=t2.inf",
"Mode=HTTP",
ITEMDATA,
"Name=title", "Value=ret1", ENDITEM,
"Name=description", "Value=ete", ENDITEM,
"Name=channelId", "Value=1", ENDITEM,
"Name=tag", "Value=rtet", ENDITEM,
"Name=source", "Value=1", ENDITEM,
"Name=addWatermark", "Value=false", ENDITEM,
"Name=nameRule", "Value=true_name", ENDITEM,
"Name=authorId", "Value=1", ENDITEM,
"Name=authorName", "Value=Patrick", ENDITEM,
"Name=appName", "Value=someVideoApp", ENDITEM,
"Name=originalUrl", "Value=http://www.msnshow.cn", ENDITEM,
"Name=otherParams", "Value=", ENDITEM,
"Name=appHandlerUrl", "Value=http://www.msnshow.cn/flvlib/file/test/readFlvInfo.jsp", ENDITEM,
"Name=flvWidth", "Value=320", ENDITEM,
"Name=flvHeight", "Value=240", ENDITEM,
"Name=thumbCaptureTime", "Value=5", ENDITEM,
LAST);
lr_think_time(1);
web_url("upload3.swf",
"URL=http://www.msnshow.cn/flvlib/file/test/upload3.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://www.msnshow.cn/flvlib/file/test/upload2.jsp?tid={Url}&createTime=20071221161528&appHandlerUrl=http%3A%2F%2F192.168.10.119%3A8080%2",
"Snapshot=t3.inf",
LAST);
lr_think_time(5);
web_submit_data("Attachments",
"Action=http://www.msnshow.cn/flvlib/file/uploadvideo/{Url}",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=text/html",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA, "Name=userFile0",
"Value=C:\\Documents and Settings\\MI_Viewer\\桌面\\119424054178.flv",
"File=yes",
"ContentType=text/html", // 覆盖了文本文件默认的“text/plain” 值。
ENDITEM,
LAST);
web_url("450_2",
"URL=http://www.msnshow.cn/flvlib/file/transaction/process/{Url}",
"Resource=0",
"Referer=http://www.msnshow.cn/flvlib/file/test/upload3.swf",
"Snapshot=t5.inf",
"Mode=HTTP",
LAST);
web_url("450_3",
"URL=http://www.msnshow.cn/flvlib/file/transaction/status/{Url}?tm=Fri%20Dec%2021%2016:18:49%20GMT+0800%202007",
"Resource=0",
"Referer=http://www.msnshow.cn/flvlib/file/test/upload3.swf",
"Snapshot=t6.inf",
"Mode=HTTP",
LAST);
lr_think_time(2);
web_url("450_4",
"URL=http://www.msnshow.cn/flvlib/file/transaction/status/{Url}?tm=Fri%20Dec%2021%2016:18:51%20GMT+0800%202007",
"Resource=0",
"Referer=http://www.msnshow.cn/flvlib/file/test/upload3.swf",
"Snapshot=t7.inf",
"Mode=HTTP",
LAST);
web_submit_data("readFlvInfo.jsp",
"Action=http://www.msnshow.cn/flvlib/file/test/readFlvInfo.jsp",
"Method=POST",
"RecContentType=text/html",
"Referer=http://www.msnshow.cn/flvlib/file/test/upload2.jsp?tid={Url}&createTime=20071221161528&appHandlerUrl=http%3A%2F%2F192.168.10.119%3A8080%2Fflvlib%2Ffile%2Ftest%2FreadFlvInfo.jsp&channelId=1&otherParams=",
"Snapshot=t8.inf",
"Mode=HTTP",
ITEMDATA,
"Name=tid", "Value={Url}", ENDITEM,
"Name=createTime", "Value=20071221161528", ENDITEM,
"Name=channelId", "Value=1", ENDITEM,
"Name=otherParams", "Value=", ENDITEM,
LAST);
return 0;
} thanks
没有任何说明
没有任何说明, 下载了也不会用 看看先 先看看,回一个顶
顶起来 帮顶一下! 真不厚道!还要扣分 这个比较有用呢,行家能不能再诠释下呀。例如脚本刚开始的三个函数web_url,web_reg_save_param保存动态数据信息的参数,web_submit_data具体作用或工作原理,上传文件是如何保存动态信息在服务器端,又如何从服务器端信息取下来呢。可能是由于本人不会关联的问题,希望得到指点。
[ 本帖最后由 zhong51test 于 2008-11-26 14:58 编辑 ]
回复 1# 的帖子
:lol :lol :lol :lol :lol真是做为穷人好辛苦来的 下不了啊 呵呵,谢谢分享。。。
found long time
thanks 谢谢 怎么够买啊 真不地道阿 真不地道,做人要厚道!真不地道,做人要厚道! 想下下来看看~没钱~~55
关键就这么一句嘛
web_submit_data("Attachments","Action=http://www.msnshow.cn/flvlib/file/uploadvideo/{Url}",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=text/html",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA, "Name=userFile0",
"Value=C:\\Documents and Settings\\MI_Viewer\\桌面\\119424054178.flv",
"File=yes",
"ContentType=text/html", // 覆盖了文本文件默认的“text/plain” 值。
ENDITEM,
LAST);