X-Git-Url: https://472bisson.ca/gitweb/magnet.git/blobdiff_plain/27695224d865b9d893ac8fecc40c7809d3337b45..6351182c4f4abea9796adf4b5fe17bbc7dbda907:/index.php
diff --git a/index.php b/index.php
index 3ac54f4..2dad933 100644
--- a/index.php
+++ b/index.php
@@ -1,38 +1,33 @@
-
Torrage
-
Torrage
-
- ";
- if(strlen($infohash) == 40 && ctype_xdigit($infohash))
- {
+
+ ";
$url = "http://torrage.com/torrent/".$infohash.".torrent";
header( 'Location: '.$url ) ; //Internet
- }
- else
- {
- echo "Invalid INFO_HASH";
- }
+ }
+ else
+ {
+ echo "Invalid INFO_HASH";
+ }
}
?>
-
\ No newline at end of file