rjodwyer Posted January 26, 2007 Share Posted January 26, 2007 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 loltest linkshttp://uploadcrap.com/ts/link.php (loads of errors)http://rapidshare.phpnet.us/ (no errors)source[code]<?phpunset($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 Quote Link to comment Share on other sites More sharing options...
rjodwyer Posted January 26, 2007 Author Share Posted January 26, 2007 anyone? ::) Quote Link to comment Share on other sites More sharing options...
marcus Posted January 26, 2007 Share Posted January 26, 2007 Put quotes around the file name. Quote Link to comment Share on other sites More sharing options...
rjodwyer Posted January 26, 2007 Author Share Posted January 26, 2007 [quote author=mgallforever link=topic=124218.msg514401#msg514401 date=1169851795]Put quotes around the file name.[/quote]where abouts? can you post the code fixed? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.