Adilol

halp

Sep 25th, 2011
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.46 KB | None | 0 0
  1. <html>
  2. <head><title>API_Key</title>
  3. <script src="validator.js" type="text/javascript"></script>
  4. </head>
  5.  
  6. <body>
  7.  
  8. <form action="welcome.php" method="post" id="API_FORM">
  9. Key: <input type="text" name="key" id="apikey" />
  10. <input type="submit" />
  11. </form>
  12.  
  13. </body>
  14. </html>
  15.  
  16. //PHP FILE BELOW
  17.  
  18. <html>
  19. <body>
  20.  
  21. Your API key is: <?php echo sha1($_POST["key"]); ?><br />
  22. Your API key was generated on the: <?php echo date("d/m/Y") . "<br />";?>
  23.  
  24. </body>
  25. </html>
Advertisement
Add Comment
Please, Sign In to add comment