Last active
August 29, 2015 14:05
-
-
Save ScruffyRules/6aa713ddca3008a62f4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (filter_var($_GET["url"], FILTER_VALIDATE_URL) === FALSE) { | |
die('Not a valid URL'); | |
} | |
if ($_GET["q"] == "h" || $_GET["q"] == "l") { | |
exec('java -jar runytd2.jar -'.$_GET["q"].' '.$_GET["url"]); | |
} else { | |
exec('java -jar runytd2.jar -l '.$_GET["url"]); | |
} | |
header('Location: http://vps.huskehhh.com/dl/ScruffyRules/YouTubeDownloader/'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment