il codice è questo (abbastanza semplice):
<html>
<head><title> Login Database </title></head>
<body>
<?php
session_start();
?>
<div align = 'center'><hr>
<table>
<form action='processform.php' method='POST'>
<tr>
<td align = 'center'> UserName </td>
<td><input type='text' name='username' maxlength='20' size='40'></td>
</tr>
<tr>
<td align = 'center'> Password </td>
<td><input type='password' name='pwd' maxlength='20' size='15'></td>
</tr>
<tr>
<td colspan = '2' align ='center'>
<input type='submit' value='Login'></p></td>
</tr>
</form>
</table>
</div>
</body>
</html>