...

View Full Version : wtfruit - help



SecretPete
01-26-2007, 11:39 PM
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


<?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

Fumigator
01-27-2007, 01:22 AM
Did you have a question for us?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum