]> 472bisson.ca Git - magnet.git/commitdiff
Initial commit.
authorManjunath CV <cvmanjoo@gmail.com>
Tue, 24 Dec 2013 18:09:32 +0000 (23:39 +0530)
committerManjunath CV <cvmanjoo@gmail.com>
Tue, 24 Dec 2013 18:09:32 +0000 (23:39 +0530)
index.php [new file with mode: 0644]
style.css [new file with mode: 0644]

diff --git a/index.php b/index.php
new file mode 100644 (file)
index 0000000..e7c0591
--- /dev/null
+++ b/index.php
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+
+       <head>
+               <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+               <title>Torrage</title>
+       </head>
+       
+       <body>
+               <h1>Torrage</h1>
+               <form action="index.php" method="get">
+                       <input type="text" width="600" name="infohash"/>
+                       
+                       
+                       <input type="submit" value="Get .torrent"/>
+                       
+                       
+                               
+                       
+                       
+               </form>
+               
+               <?php 
+               
+               //http://torrage.com/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent
+               
+               if(isset($_GET["infohash"]))
+               {
+                       $infohash = $_GET['infohash'];
+                       echo "Debug:IF --".$_GET["infohash"]."<br /> ";
+                       
+                       $url = "http://torrage.com/torrent/".$infohash.".torrent";
+                       
+                       echo $url;
+                                               
+                       header( 'Location: '.$url ) ;  //Internet   
+
+               }
+               
+
+               
+               
+               ?>
+
+</html>
diff --git a/style.css b/style.css
new file mode 100644 (file)
index 0000000..ee6fb27
--- /dev/null
+++ b/style.css
@@ -0,0 +1 @@
+http://www.tdl.com/~jrb/jrb7/css_textfield0.html
\ No newline at end of file