TinyPortal

Development => Block Codes => Topic started by: alan s on September 11, 2006, 06:26:02 PM

Title: Rapidshare.De Upload Block.
Post by: alan s on September 11, 2006, 06:26:02 PM
A little code i put together for uploading files to http://rapidshare.de , Lets you choose any of the 3 different download networks.Page containing download link opens in new window/tab , Be Patient if its a large file!


<!-- Rapidshare Upload Block Code By Alan S --!><script>function switchfiles() {alert("Please notice that when using multi-upload the sum of\nall files you upload at once must not exceed 300 MB.");
document.getElementById('files').innerHTML = 'File #01: <input type="file" size="64" name="filecontent"><br>File #02: <input type="file" size="64" name="filecontent2"><br>File #03: <input type="file" size="64" name="filecontent3"><br>' +
'File #04: <input type="file" size="64" name="filecontent4"><br>File #05: <input type="file" size="64" name="filecontent5"><br>File #06: <input type="file" size="64" name="filecontent6"><br>File #07: <input type="file" size="64" name="filecontent7"><br>' +
'File #08: <input type="file" size="64" name="filecontent8"><br>File #09: <input type="file" size="64" name="filecontent9"><br>File #10: <input type="file" size="64" name="filecontent10"><br>'}</script>

<form name="ul" method="post" action="http://ul3l3.rapidshare.de/cgi-bin/upload.cgi" enctype="multipart/form-data" onsubmit="document.ul.u.value='Uploading...';document.ul.u.disabled=true" target="_blank">
  &nbsp;<strong>&nbsp;Pick Upload Network</strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <input name="mirror" onclick="document.ul.action='http://ul3.rapidshare.de/cgi-bin/upload.cgi';document.ul.u.value='Upload via Cogent'" type="radio">
Cogent <input checked="checked" name="mirror" onclick="document.ul.action='http://ul3l3.rapidshare.de/cgi-bin/upload.cgi';document.ul.u.value='Upload via Level(3)'" type="radio">
Level 3 <input name="mirror" onclick="document.ul.action='http://ul3tl.rapidshare.de/cgi-bin/upload.cgi';document.ul.u.value='Upload via Telia'" type="radio">Telia<br>
<div id="files"><input size="15" name="filecontent" type="file"></div> <input name="u" value="Upload!" type="submit"><br>
<font size="1pt">New Window Will Open Containing Your Download Link, Be Patient!</font>
</form>



Demo As Usual : http://www.theteenzone.net/testforum/index.php?action=forum

Edit - New Demo Site
Title: Re: Rapidshare.De Upload Block.
Post by: akulion on September 11, 2006, 06:59:46 PM
can u do 1 for megaupload.com as well?

the reason i dont like rapidshare is cos of the IP restrictions on downloads....its always giving me "you have to wait 40 mins" etc even if i havent done any downloads for like 2 months lol
Title: Re: Rapidshare.De Upload Block.
Post by: alan s on September 11, 2006, 07:04:33 PM
Yea sure give me 10 min and i'll see what i can come up with , the reason your getting that error is because your probably on a shared ip network Ie : other people have the same ip as you so rapidshare counts that ip as one user. Premium accounts have that restriction.Use a proxy. I have a few tools for getting around that anyway , i'll send you a link over pm so you take take a look if you want.
Title: Re: Rapidshare.De Upload Block.
Post by: akulion on September 11, 2006, 07:05:52 PM
oki doki thanks

it will be cool to over come that issue...its so annoying esp when u know u havent downloaded anything
Title: Re: Rapidshare.De Upload Block.
Post by: Nokonium on September 11, 2006, 07:12:29 PM
I have a static IP and only have to wait circa 50 seconds for the first download.
Title: Re: Rapidshare.De Upload Block.
Post by: alan s on September 11, 2006, 07:31:30 PM
Ah , sorry to say but megaupload is a no go for a block.To Complicated Coding. You Have A Session ID each time you upload a file and that session expires after a few minutes.Also you have to enter a topic description for every file you upload which would make the snippet too big anyway for a block. Check Your Pms Btw , Send you that rapidshare tool.
Title: Re: Rapidshare.De Upload Block.
Post by: SadRacH on October 12, 2006, 10:26:16 PM
sorry no work...
Title: Re: Rapidshare.De Upload Block.
Post by: alan s on October 12, 2006, 10:33:42 PM
What doesnt work? I fixed the demo if thats what you mean.
Title: Re: Rapidshare.De Upload Block.
Post by: mforum on June 28, 2007, 09:38:11 PM
Don`t work on IE 7    :o
On firefox works fine !!!   ^-^