Greetings everyone .

I seem to be experiencing a problem with the include function on my script.

Here is my script:


<FORM ACTION="login25.php?do=authenticate" METHOD="post">
<!-- Create the form feilds in a pretty table -->
<table border=0>

<tr>
<td><strong>User_name</strong></td>
<td><input type="text" name="user_name" size="10" maxlength="10"></td>
</tr>

<tr>
<td><strong>Password</strong></td>
<td><input type="password" name="password" size="10" maxlength="10"></td>
</tr>


<tr>
<td colspan="2" align="center">
<input type="submit" value="Validate Me">
</td>
</tr>
</table>
</form>

<!-- login2.php -->
<!-- This file begins like any normal HTML file -->

<HTML>
<HEAD>
<TITLE>My Login Form</TITLE>
</HEAD>

<! --PHP code starts here!! -->

<?

switch ($do) {

case "authenticate":

$connection = mysql_connect("localhost", "Koncise", "*******")
or die ("Couldn't connect to server.");

$db = mysql_select_db("Koncise", $connection)
or die ("Couldn't select database.");

$sql = "SELECT ID
FROM Groups
WHERE user_name='$user_name' and password='$password'";

$result = mysql_query($sql)
or die("Couldn't execute query.");

$num = mysql_numrows($result);

if ($num == 1) {

echo "<P>You are a valid user!<br>";
echo "Your username is $user_name<br>";
echo "Your password is $password</p>";

} else if ($num == 0) {

unset($do);
echo "You are not authorized! Please try again.</p>";


}

break;

default:

include("login_form.inc");

}

?>

<! --The PHP code stops here, we are now back in HTML -->

</BODY>
</HTML>

When I attempt to proccess the form, I am presented with the following error message:

Warning: Unable to access login_form.inc in /usr/home/sites/Koncise/web/login_form.html on line 75

Warning: Failed opening 'login_form.inc' for inclusion (include_path='') in /usr/home/sites/Koncise/web/login_form.html on line 75

The error points to line 75, which is the include function
( include("login_form.inc"); ), however I don't see whats wrong with it.

I would be very greatful if anyone could point out what I have done wrong.

Thank you very much...!

Koncise.