That's a paths problem....
But in looking at your code, I see some logical flaws:
$MyStatus = False;
if (mysql_errno() == 0) // no error
{
if (($MyStatus) && (mysql_num_rows($res) == 1))
You never reset $MyStatus, so thus $MyStatus will always be FALSE and your second if() statement won't fire (which I think is getting the row into a temp variable).
if (($Temp[2] == ($LPass))
{
$ErrMsg = "Password is incorrect.<BR>";
}
If the database password ($Tempt[2]) is equivalent to the supplied pass ($LPass), wouldn't that mean the password is correct?
if (($Temp[2] == ($LPass))
THis has a parse error in it:
3 opening "(", 2 closing..... (but you mentioned you fixed it)
Your current issue is with the path to the included file. Without seeing just what paths you're using, and what code you're using to include them, we can't help you