Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: wtfruit - help

  1. #1
    Banned
    Join Date
    Dec 2005
    Location
    That's a secret.
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation wtfruit - help

    My super german coder dude(who doesnt have one) made this thing which skips the 30sec download time wait at this URL
    http://halo3forum.com/Gameplays/268/...deo_entry.html
    (and others on that site)
    and outputs the "stream video" and "download" links, he had to rush off without testing it and it doesnt work lol

    test links
    http://uploadcrap.com/ts/link.php (loads of errors)
    http://rapidshare.phpnet.us/ (no errors)

    source
    Code:
    <?php
    unset($stream);
    unset($file);
    if(isset($_GET["u"]))
    {
    $u=$_GET["u"];
    function geturl($r)
    {
    	if(
    	ereg(
    	preg_quote('<a href="').'([^"]+)'.
    	preg_quote('"><img src=\'http://halo3forum.com/images2/fullversion.gif\' border=0></a>')
    	,$r,$regs)
    	)
    		return $regs[1];
    }
    function getstream($r)
    {
    	if(
    	ereg(
    	preg_quote('<a href="').'([^"]+)'.
    	preg_quote('" target=_blank><img src=\'http://halo3forum.com/images2/stream.gif\' border=0></a>')
    	,$r,$regs)
    	)
    		return $regs[1];
    }
    function get_url_stream($u)
    {
    	$r=file_get_contents($u);
    	$a=geturl($r);
    	$b=getstream($r);
    	return Array($a,$b);
    }
    $a=get_url_stream($u);
    $file=$a[0];
    $stream=$a[1];
    }
    ?>
    <html>
    <body>
    <form>
    Enter download page URL:
    <input name="u" type="text"><input type="submit" value="go"><br>
    Download file:<br><?php if(isset($file)) echo $file;?><br>
    Stream:<br><?php if(isset($stream)) echo $stream;?><br>
    </form>
    </body>
    </html>
    note: he did this in like 30secs after i asked if it was possible

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Did you have a question for us?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •