Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <form method="post" action="">
- <input type="text" name="vid">
- <input type="submit" value="Download">
- </form>
- </html>
- <?php
- if(isset($_GET['vid'])){
- $vid = $_GET['vid'];
- $pattern = '/18\|([^,]+)/i';
- $get = @file_get_contents($vid);
- preg_match($pattern, $get, $down);
- $down = urldecode($down[1]);
- $down = str_replace("\\", "", $down);
- print $down;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement