Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $configuration['address'] = 'localhost';
- $configuration['username'] = 'tehdoc';
- $configuration['password'] = 'RUd>79>v+E-u';
- $configuration['database'] = 'tehdoc_TehDoc'';
- mysql_connect('$configuration['address'], $configuration['username'], $configuration['password']') or die(mysql-error());
- mysql_select_db('$configuration['database']') or die(mysql_error());
- ?>
- <html>
- <form>
- <form name = "registration form" method="post" enctype="application/x-www-form-urlencoded"
- username: <input type="text" name="username"> /><br/>
- password: <input type="password" name="password"> /><br/>
- password: <input type="password" name="password again"> /><br/>
- submit: <input type="submit" name="submit" value="register" /><br/>
- </form>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement