Advertisement
Guest User

Untitled

a guest
May 4th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.74 KB | None | 0 0
  1. <?
  2. $configuration['address'] = 'localhost';
  3. $configuration['username'] = 'tehdoc';
  4. $configuration['password'] = 'RUd>79>v+E-u';
  5. $configuration['database'] = 'tehdoc_TehDoc'';
  6.  
  7. mysql_connect('$configuration['address'], $configuration['username'], $configuration['password']') or die(mysql-error());
  8. mysql_select_db('$configuration['database']') or die(mysql_error());
  9.  
  10. ?>
  11.  
  12. <html>
  13.  
  14. <form>
  15.  
  16. <form name = "registration form" method="post" enctype="application/x-www-form-urlencoded"
  17. username: <input type="text" name="username"> /><br/>
  18. password: <input type="password" name="password"> /><br/>
  19. password: <input type="password" name="password again"> /><br/>
  20. submit: <input type="submit" name="submit" value="register" /><br/>
  21.  
  22. </form>
  23. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement