X-Git-Url: https://472bisson.ca/gitweb/magnet.git/blobdiff_plain/434527ce5fbb459435a792c198ee6d12066c86c1..b66caf1dce9526aeece6d22dc82382475cb02722:/index.php diff --git a/index.php b/index.php index 5a928c0..0838e17 100644 --- a/index.php +++ b/index.php @@ -1,3 +1,45 @@ +"; + if($site == 'torrage') + { + $url = "http://torrage.com/torrent/" . $infohash . ".torrent"; + header('Location: ' . $url); //Internet + } + else if($site == 'torcache') + { + $url = "http://torcache.net/torrent/" . $infohash . ".torrent"; + header('Location: ' . $url); //Internet + } + else if($site == 'istoretor') + { + $url = "http://istoretor.com/fdown.php?hash=" . $infohash . ".torrent"; + header('Location: ' . $url); //Internet + } + else + { + $url = "http://zoink.it/torrent/" . $infohash . ".torrent"; + header('Location: ' . $url); //Internet + } + } + else + { + echo "Invalid INFO_HASH"; + } +} +?> @@ -20,47 +62,10 @@ iStoreTor - "; - if($site == 'torrage') - { - $url = "http://torrage.com/torrent/" . $infohash . ".torrent"; - header('Location: ' . $url); //Internet - } - else if($site == 'torcache') - { - $url = "http://torcache.net/torrent/" . $infohash . ".torrent"; - header('Location: ' . $url); //Internet - } - else if($site == 'istoretor') - { - $url = "http://istoretor.com/fdown.php?hash=" . $infohash . ".torrent"; - header('Location: ' . $url); //Internet - } - else - { - $url = "http://zoink.it/torrent/" . $infohash . ".torrent"; - header('Location: ' . $url); //Internet - } - } - else - { - echo "Invalid INFO_HASH"; - } - } - ?> +
+
+ Create Magnet link + + \ No newline at end of file