Hi mrcc,
1) I noticed a (minor) error on your HTML page ... the password box ... here's the fixed code ...
<html>
<head>
<title>:Login V.1:</title>
</head>
<body bgcolor="#cccccc">
<form method="POST" action="http://mrcc.foggydreams.com/loginphp.php">
Username:<input type="text" name="username">
<br />Password:<input type="password" name="password">
<br /><input type="Submit" value="Send Data" />
<input type="reset" value="Clear" />
</form>
</body>
</html>
2. In the PHP, try ...
<?php
if ($_POST['username'] == 'mrcc' && $_POST['password'] == '23')
{
echo '<FONT FACE="Arial">';
echo 'The user/pass was correct <br />';
echo '</font>';
}else {
echo '<FONT FACE="Arial">';
echo 'Sorry the username and password was wrong <br />';
echo '</font>';
}
?>
Paul 🙂