Dear all
I had made a login page for user, but once when you user had login failed,
there will be a error appear which is "HTTP ERROR 405", could someone pls
tell me what is that mean on that error?

and here is my code for my internal website.

===================================

<?
$dblink=mysql_pconnect("microsoft","console","edshk");
mysql_select_db("nedcorhk", $dblink);
$query="select staff.firstname, login.staffid, login.password from
staff,login where login.staffid=staff.staffid";
$result=mysql_query($query,$dblink);
while($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
 if ($name = ($row["firstname"]))
 {
 header ("Location: http://microsoft.nedcor.com.dev/index.php";);
 }
 else
 {
 header ("Location: http://microsoft.nedcor.com.dev/login.php";);
 }
}
?>
===================================

Thx a lot
Jack
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to