error ครับช่วยเช็คให้หน่อยครับว่า เกิดมากจากอะไร เพราะว่าเวลา logon แล้วบอกว่ากรอบข้อมุลไม่ครบ ช่วย
ลองเช็คเรื่องปีกกา
กับเรื่อง if else ครับ
Date :
2009-10-16 16:43:07
By :
onizike
Code (PHP)
//$uname='admin';
//$pwd='admin';
ปิดไว้นี่คือ ส่งค่ามาจากหน้าอื่นแล้วใช่มั้ยครับ แล้ว echo ออกมาแล้วได้อารายอะคราบ
Date :
2009-10-16 16:51:37
By :
Sek-Artdrinker
ถามดวงชะตาด้วยได้ป่ะครับ
Date :
2009-10-16 17:28:28
By :
pokultra
ผมมีรูปฐานข้อมูลมาให้ดูครับแล้วก็ code หน้า login มาด้วยครับ
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Login/Register</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
.style1 { color: #FF3300;
font-weight: bold;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0">
<div id="Layer1" style="position:absolute; left:63px; top:311px; width:15px; height:20px; z-index:1"><img src="images/login.gif" width="24" height="24"></div>
<div id="Layer2" style="position:absolute; left:25px; top:339px; width:99px; height:22px; z-index:2"><font color="#FF3300" size="2" face="Microsoft Sans Serif">
<strong><a href="login.html">Login/Register</a></strong></font></div>
<div id="Layer4" style="position:absolute; left:637px; top:152px; width:105px; height:40px; z-index:4"><strong>Member
Login:</strong><br>
<img src="images/forumlist.gif" width="18" height="9">
<strong><font color="#0033CC">Go</font> <font color="#FF3300">back.</font></strong><br>
</div>
<div id="Layer5" style="position:absolute; left:213px; top:149px; width:85px; height:46px; z-index:5">
<p><img src="images/icon_register.gif" width="28" height="25"><br>
<font color="#FF3300"><strong>Register :</strong></font></p>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="images/index4_02.gif" bgcolor="#6699CC"><font size="1" face="Microsoft Sans Serif"><img src="images/first01.gif" width="361" height="90"></font></td>
</tr>
</table>
<table width="772" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="177" height="411" valign="top">
<table width="177" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/first02.gif" width="177" height="16"></td>
</tr>
<tr>
<td width="177" height="179" valign="top" background="images/menu03.gif">
<table width="90%" height="62" border="0" align="center" cellpadding="0" cellspacing="3">
<tr>
<td height="17"><font size="1" face="Microsoft Sans Serif"><img src="images/icon.gif" width="14" height="14"> <strong>MENU >></strong></font></td>
</tr>
<tr>
<td><p><font size="1" face="Microsoft Sans Serif"> + <a href="home.html" target="_self">HOME</a><br>
+ <a href="webboard/test.html">WEBBOARD</a><br>
+ <a href="login.html" target="_self">PROJECT MANAGEMENT</a><br>
+ <a href="http://www.it.kmutt.ac.th" target="_self">IT KMUTT</a><br>
+ <a href="http://www.kmutt.ac.th" target="_self">KMUTT</a></font></p></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1" background="images/line.gif"><img src="images/line.gif" width="1" height="3"></td>
<td valign="top"><table width="95%" height="394" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><font color="#0000FF" size="2" face="Microsoft Sans Serif"><strong>PROJECT
<font color="#FF0000">MANAGMENT</font></strong></font></td>
</tr>
<tr>
<td><font size="1" face="Microsoft Sans Serif"><span class="style1">WEBBOARD ==></span> | <a href="webboard/webboard.php?Category=data">DATA</a> | <a href="webboard/webboard.php?Category=software">SOFTWARE</a> | <a href="webboard/webboard.php?Category=itm" target="_self">ITM</a></font></td>
</tr>
<tr>
<td height="347">
<form action="include/authen.php" method="post">
<table width="100%" height="280" border="1" cellpadding="0" cellspacing="2">
<tr bgcolor="#0000FF">
<td height="14"><font color="#FFFFFF" size="1" face="Microsoft Sans Serif"><strong>Login/Register
:-</strong></font></td>
</tr>
<tr>
<td height="258">
<div id="Layer3" style="position:absolute; left:310px; top:183px; width:314px; height:186px; z-index:3; background-color: #33CCFF; layer-background-color: #33CCFF; border: 1px none #000000;">
<div align="center">
<p><strong><font color="#FF3333"><br />
Sign In</font></strong></p>
<p align="left"><strong> Username
:
<input name="uname" type="text" id="uname" />
</strong></p>
<p align="left"><strong> Password
:<font color="#FF3333">
<input name="pwd" type="password" id="pwd" />
</font></strong></p>
<table width="41%" border="0" align="center">
<tr>
<td width="43%" height="27"> <div align="center">
<input type="submit" name="Submit" value="OK" />
</div></td>
<td width="57%"> <div align="center">
<input type="reset" name="reset" value="Cancel" />
</div></td>
</tr>
</table>
</div>
</div>
<font size="1" face="Microsoft Sans Serif"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font></td>
</tr>
</table>
</form>
<p align="right"><font size="1" face="Microsoft Sans Serif"><br>
</font><font color="#CCCCCC" size="1" face="Microsoft Sans Serif">Copyright
2003. All rights reserved. Use for project only.<br>
Designed by Sukkler team For technical assistance call: <br>
For help through e-mail:[email protected] </font><font size="1" face="Microsoft Sans Serif"><br>
</font></p></td>
</tr>
<tr>
<td height="19"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" colspan="3">
<hr align="center" width="100%"></td>
</tr>
</table>
</body>
</html>
Date :
2009-10-16 18:12:56
By :
tui
Load balance : Server 01