X-Git-Url: https://472bisson.ca/gitweb/magnet.git/blobdiff_plain/27695224d865b9d893ac8fecc40c7809d3337b45..HEAD:/index.php?ds=inline
diff --git a/index.php b/index.php
index 3ac54f4..238a241 100644
--- a/index.php
+++ b/index.php
@@ -1,38 +1,132 @@
-
-
+
+
+
- Torrage
-
-
+ Magnet
+
+
+
+
+
+
-
- Torrage
-
-
-
+
+ ";
- if(strlen($infohash) == 40 && ctype_xdigit($infohash))
+ if($error_code == 1)
{
- //echo "Debug:$url = ".$url."
";
- $url = "http://torrage.com/torrent/".$infohash.".torrent";
- header( 'Location: '.$url ) ; //Internet
- }
- else
- {
- echo "Invalid INFO_HASH";
- }
- }
+ ?>
+
+
Error : Infohash cannot be empty.
+
+
+
+
Error : Invalid Infohash.
+
+
+
+
+
+
Enter Some Torrent Info Hash
+
+
+
+
-
-
\ No newline at end of file
+
\ No newline at end of file