Konu: Rapidshare upload kodu Çarş. Ocak 21, 2009 4:32 am
RAPIDSHARE RAR ZİP DOSYA UPLOAD KODU
Kod:
<center><a href="http://rapidshare.com"> <img height="214" alt="logo" src="http://rapidshare.com/img2/rslogo.gif" width="300"></a> <noscript></noscript> <div id="inhaltbox" style="TEXT-ALIGN: center"> <script type=text/javascript> <!-- var multi = false; function switchfiles() { alert("Please note, the total sum of the files simultaneously uploading, cannot exceed 200 MB."); var text = ""; for (i=1;i<11;i++) { if (i < 10) text += '0'; text += i+'.'; text += '<input type="file" size="65" onchange="zeigeUploadBtn();"'; text += ' id="dateiname'; if (i > 1) text += i; text += '" name="filecontent'; if (i > 1) text += i; text += '"><br />'; } document.getElementById('files').innerHTML = text; multi = true; } var ok = false; function zeigeUploadBtn() { var dn = document.getElementById("dateiname").value; dn = dn.replace(/^\s+|\s+$/g, ''); var Woerter = dn.split("\\"); var dateiname = Woerter[Woerter.length-1]; if (dn.length < 1) { ok = false; return false; } ok = true; document.getElementById("btnupload").style.visibility = "visible"; var elem = document.getElementById("dname"); elem.firstChild.nodeValue = dateiname; if (multi) { for (i=2;i<11;i++) { dn = document.getElementById("dateiname"+i).value; dn = dn.replace(/^\s+|\s+$/g, ''); Woerter = dn.split("\\"); dateiname = Woerter[Woerter.length-1]; if (dn.length > 1) { elem.firstChild.nodeValue += ", "+dateiname; } } } } function zeigeProcess() { if (!ok) return false; document.getElementById("dateiwahl").style.display = "none"; document.getElementById("progbar").style.display = "block"; return true; } //--> </script>