Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require('required.php');
- $database = new database;
- if(isset($_POST["submit"])){
- $passcode = sha1($_POST["code"]);
- $conn = $database->conn();
- echo $database->gather($conn,$passcode);
- }
- ?>
- <html>
- <head>
- <title>Gather Results</title>
- </head>
- <body>
- <center>
- <form method="POST">
- <table border="0px" cellspacing="5px" cellpadding="0px">
- <tr><td><label>Passcode: </label></td><td><input type="text" name="code" /></td></tr>
- <tr><td colspan=2 align="center"><input type="submit" name="submit" value="Gather" /></td></tr>
- </table>
- </form>
- </center>
- </body>
- </html>
Add Comment
Please, Sign In to add comment