http error 405
| From: | Jack | Date: | Wed, 30 Jan 2002 13:27:14 +0000 |
| Subject: | http error 405 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-82730@lists.php.net to get a copy of this message | ||
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
jack@nedcor.com