|
|
|
ช่วยดูโค้ดการ login หน่อยครับว่าทำไรผิดครับ พอกด loginแล้วไม่ขึ้นไรเลย |
|
|
|
|
|
|
|
ขอดูไฟล์ config.php หนอ่ยจิ
|
|
|
|
|
Date :
2013-07-10 10:44:57 |
By :
nut_ch31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$result = mysql_query("select user_mem,pass_mem from member where user_mem='$user_login' and pass_mem='$pwd_login'") ;
ผมว่ามันอยู่ตรง
นี้แหละ ลอง exit( "select user_mem,pass_mem from member where user_mem='$user_login' and pass_mem='$pwd_login'" );
แล้วเอา query ไปทำใน phpmyadmin ดูคับผมว่า
|
|
|
|
|
Date :
2013-07-10 10:49:17 |
By :
moomoohorn |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?
$host = "localhost";
$user = "root";
$pass = "1234";
$dbname = "forum";
$conn = mysql_connect ("$host","$user","$pass") or die (mysql_error());
mysql_select_db($dbname,$conn);
mysql_query("SET NAMES UTF8");
?>
|
|
|
|
|
Date :
2013-07-10 10:59:05 |
By :
ponsatie |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ต้องทำอย่างไรบ้างครับ
|
|
|
|
|
Date :
2013-07-10 16:57:10 |
By :
ponsatie |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|