Jump to content

WTFRUIT - help me :p


rjodwyer

Recommended Posts

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/268/halo_video_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>
[/code]

note: he did this in like 30secs after i asked if it was possible
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.