撖行唳摮禽III
摰暻餉銝單摮詨嚗憭批振閰脤賣閬箏唬喲唾憿GDL嗅祕芸榆冽蝔撌瓶
隞交菔梧蝜潛靘閬渲牲閬瘚蝔 GigaSize 蝛粹~
找嚗沐T閬批券 http://www.gigasize.com/
嚗嗅 DEBUG 嚗亥撠梯芸隞才
銝批捆閰脖冽閫鈭坍 (銝鈭箄蝚砌蝭靽)
GetFile()
IFNo:end
Label:begin
go:www.gigasize.com
FindWebText:Files (maximum
IfNo:begin
SetFileValue:i_file=***File***
ClickCheckBox:accept,1
ClickImage:btn-upldreg.gif
隤芸祕刻店嚗隞亦洵銝啗情靘嚗撖恍蝛粹撖血典冽摨色
亥靘銝銝銝單摮澆末雿菟舐!!
銝銝喲敺嚗蝡閬銝唳敺瑼獢蝯 (仿憟質竟瑞閰梧銋銝蹂嗆摮貊其摮鈭~ XD )
蝚砌嚗銝喲脣漲銵剁批捆箔單獢SIZE 桀銝喟脣漲
蝚砌嚗撠望臭喳歇摰嚗亥蝑敺瑼獢銝
蝚砌嚗瑼獢銝喳銝銝嗅嚗崆ERVER喃敺鞈閮~
隞交銝銝喲敺嚗撠勗閬唬畾萄喟摨!!
銝亙之摰園閮銝閮敺冽摮貊洵銝蝭批捆嚗
銝雿璆剔頂蝯勗蝬脤隞嗉孛隤摰孵銝!!
嗆銝銝喲頝喳啁洵銝銝剔恍W嚗脣漲銵冽蝥單寡桀撌脖喳脣漲!!
湔圈脣漲雿嚗璆菜航賣閫詨閰脩雯銝鈭隞塚NT隤文支單臬歇蝬摰嚗 撠渡摨冽芸銝喳撠勗銝韏!!
隞仿鋆菟航閬蝎撠敹~
GetFile()
IFNo:end
Label:begin
go:www.gigasize.com
FindWebText:Files (maximum
IfNo:begin
SetFileValue:i_file=***File***
ClickCheckBox:accept,1
ClickImage:btn-upldreg.gif
FindWebText:Upload speed
IfNo:begin
stop()
stop()
stop()
Label:wait_
WaitWebText:Direct Link,3,wait_
WaitWebText:Direct Link,4,wait_
憭批振舐唳銝Y撖急!! 函Ⅱ摰Z脖喃葉(摮菟)敺嚗銝鈭銝STOP() 嚗嗡葉蝢拙銝~!
箇洵銝恍W箇暹嚗脣漲璇舫瘝批捆嚗隞交迨蝔摨摰函洵銝STOP() 銝~
亥嚗SERVER憪貊喳撌脖喟脣漲嚗甇斗X寡!!
鋆NT璆菜航賣隤文斤洵銝STOP() 撌脣撠蝔摨敺銝蝘鳴喳摨血函洵鈭STOP()銝~
唳迨嚗隞交WIN2K 蝟餌絞靘隤迎銝游圈脣漲100% 箸迫嚗銝蝞∪喳嗾甈∟嚗NT 賭斗瑞洵鈭STOP()
撌脣嚗隞亦洵銝芣典啣拙STOP() !!
乩靘嚗嗡喲脣漲100%敺嚗撠望頝喳啁洵鈭恍W誤 ( 甇斗刻瑼獢銝嗥雿 )
嗥塚蝔摨撠望敺銝韏堆亥撠勗摰函洵銝STOP() 銝~!
蝚砌X舐桃嚗銝瑁敶g銝游啗歲啁洵銝W嚗賣摰券蝚砌STOP()銝!!!
亥嚗頧唳敺銝嚗箏X獢嗅剁隞交蝥鈭拙 WaitWebText: 菟砷
桃舀蝔摨冽園游亙敺嚗隤文斤箸游a賢歇頛亙!!
銝亙之摰嗥鈭閬箏雿?? 鈭箸航死敺撠隞乩瘚蝔撖血冽曉曄﹚
撠文嗆狷P雿輻刻嚗函典啁洵鈭STOP() 敺嚗貊喟脣漲璇嚗臬行NT 隤文歹撖血冽舐餅踵!!
閮剜喳銝甈⊿脣漲賢銝菟舐閮剛嚗璅銝餅瘝摰瘝鈭!!! 閰脰單摮蝜餅撠!!!
憟踝隢憭批振剖餌蕃銝銝蝚砌蝭梯正!! 雿潛暹隞乩撖急臬惇潭寡臭孵~
曉剁撠望冽寡臭孵靘閰西岫!! 單寧刻”桅箇孵靘銝銝喲敺閫詨瑁銝喲脣漲璇憿!!
嚗敹閬仿靽曹單雿銵典桀摰航潛雯銝剔蝚砍嗾銵典!!
憒雿敹恍曉唳閬銵典株閮?? 典箇摮2 撌脖蝝寥鈭!! (銝鈭綽敹怠剝靽桀把 )
蝬脤皞蝣澆嚗銝銝 multipart/form-data 萄
函銵典桀停撠!!!
<form enctype="multipart/form-data" action="http://www.gigasize.com/cgi-bin/upload-multi.cgi?sid=d78cf45892a4e79935e3ab20dfd33f7f&description="
method="post" target="iframe_upload" onsubmit="return upload_submit_form();"
id="upload_form">
隞交唬a畾菜蝣!! 銵典桅嗆 name 撅祆改雿舀id 撅祆改隞交臭誑 PostForm:upload_form
03-蝬脤批園
嗥嗆銋臭誑冽迨銵典桀冽銵典桐葉摨!!
擐蚤EBUG 嚗批園 FORM !! 甇斗嚗雿潛曉望銵典恙
嗡葉蝚砌 Action 憟賢停亙啁皞蝣潔璅ㄏ 隞交撠梁仿摰摨撠望舐洵鈭 !!
隞亙舐 PostForm:[1] 靘箝 (箸迨隞斤豢臬0蝞韏瘀隞亦洵鈭撠望1交舐洵銝撠望0嚗靘甇日)
03-蝬脤批園
憟踝撠勗寧其a璅摮靘頝~
GetFile()
IFNo:end
Label:begin
go:www.gigasize.com
FindWebText:Files (maximum
IfNo:begin
SetFileValue:i_file=***File***
ClickCheckBox:accept,1
PostForm:[1]
喳敺蝯嚗W銋銝 雿雿交瘚抒頠擃嚗舀乩銝銵典桅綽蝣箸舀撠瑼獢銝喟~
隞交嚗甇斤征銝喉臬血冽鈭方”桀嚗閬血雿??
憟!! 撠勗剖餌銝銝喲嚗箇曄銝恍╭
抒靘冽瘀嗆撠銵典桀批捆箏敺嚗喃喳閰脫臬函洵銝銝剝100% ~
甇斗嚗蝚砌頧喟洵鈭恍g撠梯府舫萎!!
隞交臭誑閰西霈恍W刻雿銝嚗靘曄瘝隞颱蝯脤收頝﹚
GetFile()
IFNo:end
Label:begin
go:www.gigasize.com
FindWebText:Files (maximum
IfNo:begin
SetFileValue:i_file=***File***
ClickCheckBox:accept,1
ClickImage:btn-upldreg.gif
FindWebText:Upload speed
IfNo:begin
stop()
stop()
SetAutoOutput:http
03-蝬脤批園
stop()
Label:wait_
WaitWebText:Direct Link,7,wait_
WaitWebText:Direct Link,7,wait_
over()
鋆嚗其 SetAutoOutput: 隞歹雿踹嗥洵銝恍V葉脣漲100%嚗亥喟洵鈭撘萄X嚗霈摰摰雿銝 !!!
銝潛曄瘝唬遙雿梯正~ 臬函洵鈭撘萄閬唳敺恍Y甇仿(單獢銝)!!
憒銝蝷綽刻撓箸桐葉嚗潛曆璅銝畾菟蝯~
http://www.gigasize.com/index.php?f=949351--&pass=d7f92259d74501cee39dc3c21d57311e--
望迨航嚗f pass 拙賂閰脖舀閬嗡葉銋銝!!!
憟! 啣嗡銝典箇摮2鋆摮賊梯正!!
甇撣訾隤迎閬鈭支靽曹單雿銵典殷銵典株喳摰蝢拙箔撅祆坍
method="post" enctype="multipart/form-data"
action="URL"
亙啁皞蝣潸嚗支銝憭嚗銝 onsubmit="return upload_submit_form();
JS 隤瘜!! 臭嚗撠望臬!!
(沅S 鋆嚗 onsubmit onclick 銝虫銝璅!! 敺舐帷lick()雿靘閫貊潘舀submit()
雿閫詨~)
隞伐閰脣停臬鈭雿嚗撠湔銝喳餌∪喟╭
憟踝撠勗敺皞憪蝣潸靘曄瘝 upload_submit_form() 畾焦S 隤瘜~ ( 嗯 曆唬
)
芸末寞醇S瑼鈭~
敺雿甸ib.js 鋆嚗曉 upload_submit_form() 批捆~ ( 閰脤YJS
瑼銝憭批嚗支嗅賢孵靘斗瑕嚗芾賣蝬撽 瘞 )
憟踝蝧駁lib.js 批捆敺嚗訾縑雿支單香憭嚗閰脫亦單鈭~
鋆W之隤瘜航鈭粹剜潸梧撠梢蝑砌犖嚗銋航曹靘賣曉箄SERVER 唾寞~
隞乩銝舀迤撣貊!! 瘝蝟鳴雿憒雿蝖祈剔桐 XD
擐嚗撠勗拍典啁拙(f pass )銝餅撠~
雿潛橘拙豢臬神 function __store_endUpload(fileid, pass) 鋆~
function __store_endUpload(fileid, pass) {
if (__store_updater) {
__store_updater.stop();
}
Element.hide($('progresscontainer'));
Element.show($('uploadcompleted'));
document.location = 'index.php?f=' + fileid + '&pass=' + pass;
}
雿畾菜航”蝷箇洵鈭撘萄頧單敺瑼獢銝嗥瘚蝔嚗閬蝚砌撘萄100%敺嚗頧喟洵鈭撘萄寞舐⊿~
隞交敺曄芾典啣~ 寞 function __store_endUpload
敺嚗雿啣臬 function __store_updateProgress(pb ,ps, fn ,pt, req) 鋆箇鴉
畾萄停蝎瑚撠曹箔鈭嚗摰銝餉撠望臬券脰單喲脣漲璇鞈閮~ 荔敹怨亥閬梯正鈭~
憟踝扳見靘 __store_updateProgress ~
雿潛曉箇曉其a畾萎葉~
new Ajax.PeriodicalUpdater({},'upload_progress.php',{'decay': 1,'frequency' :
2,'method': 'post','parameters': 'sid=' + sid,'onSuccess' :
function(request){__store_updateProgress($('progresscounter'), $('progressspeed'),
$('progressfile'), $('progresstime'), request)},'onFailure':function(request){__store_updateFailure($('progresscounter'),request)}})
鋆撠望舫萎!!
靘SERVER 舐 upload_progress.php 敺銝喟脣漲嚗鞈狄unction __store_updateProgress(pb
,ps, fn ,pt, req) 銝脣漲璇銝~
蝑銝喲100% 敺嚗寧 function __store_endUpload 靘脰瑼獢銝嗥雿 ~
嗡葉嚗 sid
隞銵函撠望特ERVER其蝬脤敺舐鼠 ! 銋撠望舀銝唾”株Action !!
憒甇支靘嚗撠勗券賡鈭!!
閬雿撠望舐嗉”桅箏敺嚗閬徜pload_progress.php 銝sid 潘靘閮 SERVER 銝撌脣100%閮~
甇斗摰閰脣停喳蝯行 f pass 潘梢拙潮脰瑼獢銝嗥雿嚗敺閰脣停臭誑敺唳閬鈭恍蝯鈭~
GetFile()
IFNo:end
Label:begin
go:www.gigasize.com
FindWebText:Files (maximum
IfNo:begin
//---敺SID
WebStrToVariable:upload-multi.cgi?sid=,&,***Variable75***
SetFileValue:i_file=***File***
ClickCheckBox:accept,1
PostForm:upload_form
//PostForm:[1]
sleep()
//---喲蝯吁ERVER 銝銝喳閮
go:http://www.gigasize.com/upload_progress.php?sid=***Variable75***
銝嗥嗯 憒銝嚗f pass 潛澆箇曆~
閬拙潛easy改嚗
WebStrToVariable:perl done ,-- ,***Variable2***
WebStrToVariable:-- ,--,***Variable3***
敺撠望臬銝嗅潔霈瑼獢銝塚
go:http://www.gigasize.com/index.php?f=***Variable2***--&pass=***Variable3***--
GDL 渡銝銝嚗
GetFile()
IFNo:end
Label:begin
go:www.gigasize.com
FindWebText:Files (maximum
IfNo:begin
//---敺SID
WebStrToVariable:upload-multi.cgi?sid=,&,***Variable75***
SetFileValue:i_file=***File***
ClickCheckBox:accept,1
PostForm:upload_form
//PostForm:[1]
sleep()
//---喲蝯吁ERVER 銝銝喳閮
Label:ok
go:http://www.gigasize.com/upload_progress.php?sid=***Variable75***
FindWebText:perl done
IfNo:ok
//---敺fpass 銋
WebStrToVariable:perl done ,-- ,***Variable2***
WebStrToVariable:-- ,--,***Variable3***
//---瑼獢銝
Label:wait_
go:http://www.gigasize.com/index.php?f=***Variable2***--&pass=***Variable3***--
WaitWebText:Direct Link,3,wait_
WaitWebText:Direct Link,4,wait_
亥撠望臬蝯鈭嚚
憒銝蝷綽蝯憟賣舐洵怠INPUT 潘隞亦湔亦具ItemToVariable:[8],***Variable4***撠勗臭誑唬嚚03-蝬脤批園
敺鋆銝銝瑼獢皜柴扳臬阡瑼獢斗瑁嗅偏蝔摨函甇g甇二DL撠梁券冽摰嚚
Label:up
GetFile()
IFNo:end
Label:begin
go:www.gigasize.com
FindWebText:Files (maximum
IfNo:begin
//---敺SID
WebStrToVariable:upload-multi.cgi?sid=,&,***Variable75***
SetFileValue:i_file=***File***
ClickCheckBox:accept,1
PostForm:upload_form
//PostForm:[1]
sleep()
//---喲蝯吁ERVER 銝銝喳閮
Label:ok
go:http://www.gigasize.com/upload_progress.php?sid=***Variable75***
FindWebText:perl done
IfNo:ok
//---敺fpass 銋
WebStrToVariable:perl done ,-- ,***Variable2***
WebStrToVariable:-- ,--,***Variable3***
//---瑼獢銝
Label:wait_
go:http://www.gigasize.com/index.php?f=***Variable2***--&pass=***Variable3***--
WaitWebText:Direct Link,3,wait_
WaitWebText:Direct Link,4,wait_
//---敺鈭恍蝯
ItemToVariable:[8],***Variable4***
output:***Variable4***
FileLoop:up
Label:end
EXIT()
敺閮嚗
暻潭頠蝛粹靘撖急摮賂支園拙瞍蝺游蝔桃摨銝璅∪憭嚗銋蝞臬函箏靘Ajax 銝喳頨品
箏畾萄單臬靘撖隹jax 蝣啣唳憭抒唳!! 撣憭批振交銝唳孵臭誑憭撟暸嚗蝯撠撠雿隞亙撖隹jax_GDL貊嗅之撟怠拙~