Guest User

Untitled

a guest
Jun 19th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <?
  2. $db_name = "mudiw_simpleforum";
  3. $db_user = "mudiw_all";
  4. $db_password = "pass";
  5. $db_host = "localhost";
  6.  
  7. mysql_connect("$db_host", "$db_user", "$db_password")or die("Failed to connect to DB server");
  8. mysql_select_db("$db_name")or die("Failed to select DB");
  9. ?>
  10. <body>
  11. <form name="reg" method="post" enctype="application/x-www-form-urlencoded">
  12. username: <input type="text" name="username" /><br />
  13. email: <input type="text" name="email" /><br />
  14. password1: <input type="password" name="password1" /><br/>
  15. password2: <input type="password" name="password2" /><br/>
  16. <input type="submit" name="submit" value="register" />
  17. </form>
  18. </body>
Add Comment
Please, Sign In to add comment