Submit a file
After you've done that, a releaser will review your submission, and if all is well, it should end up on the front page soon.
include("includes/start_session.inc"); include("includes/test_authorisation.php"); //code to prefill the fields in case of submit.php?name=name $queryName = $_GET['name']; if (get_magic_quotes_gpc()) { $queryName = stripslashes($queryName); $queryP = stripslashes($queryP); } if(version_compare(phpversion(),"4.3.0") == "-1") { $queryName = mysql_escape_string($queryName); } else { $queryName = mysql_real_escape_string($queryName); } $sql="SELECT * FROM `files_software` WHERE `name` = '$queryName'"; $display=mysql_query($sql, $db) or die("error: ".mysql_error()); $value=mysql_fetch_array($display); if($value['name']!='') { $magnet="magnet:?xt=urn:bitprint:".$value['sha1'].".".$value['tigertree']."&xt=urn:ed2khash:".$value['ed2khash']."&xl=".$value['size']."&dn=".$value['filename']; } ?>