- </form>\r
- \r
- <?php \r
- \r
- //http://torrage.com/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent\r
- if(isset($_GET["infohash"]))\r
- {\r
- $infohash = $_GET['infohash'];\r
- //echo "Debug:IF -- ".$_GET["infohash"]."<br /> ";\r
- if(strlen($infohash) == 40 && ctype_xdigit($infohash))\r
- {\r
+ </form> \r
+ <?php //http://torrage.com/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent\r
+ \r
+ if (filter_has_var(INPUT_GET, 'infohash'))\r
+ {\r
+ $infohash = filter_input(INPUT_GET, 'infohash');\r
+ \r
+ if(strlen($infohash) == 40 && ctype_xdigit($infohash))\r
+ {\r