5037207 โพสต์ 2009-11-7 09:17:49

ทำล็อกอินแล้ว จะให้มันเชื่อมต่อ กันทำไง

คือว่าผมทำแบบ นี้แล้วจะให้มันล็อกอิน สมัคร ลืมพาสเวิร์ด

เชื่อมต่อเหมือน ของเดิมอ่ะครับทำไง

<body background="images/4.bmp" bgcolor="#FF0000" text="#000000" style="background-position:left center ;">
<div id="container">
<div id="wb_Signup1" style="position:absolute;left:0px;top:0px;width:206px;height:184px;z-index:0;" align="left">
<form name="signup" method="post" action="<?php echo basename(__FILE__); ?>" id="signup">
<input type="hidden" name="action" value="signup">
<table cellspacing="4" cellpadding="0" style="background-color:#EFF6FF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;width:206px;height:184px;">
<tr>
   <td colspan="2" align="center" height="13px" style="background-color:#BFDBFF;color:#006BF5;">
Sign up for a new account</td>
</tr>
<tr>
   <td align="right" height="13px">Full Name:</td>
   <td><input name="fullname" type="text" id="fullname" style="width:100px;height:18px;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;" /></td>
</tr>
<tr>
   <td align="right" height="13px">User Name:</td>
   <td><input name="username" type="text" id="username" style="width:100px;height:18px;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;" /></td>
</tr>
<tr>
   <td align="right" height="13px">Password:</td>
   <td><input name="password" type="password" id="password" style="width:100px;height:18px;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;" /></td>
</tr>
<tr>
   <td align="right" height="13px">Confirm Password:</td>
   <td><input name="confirmpassword" type="password" id="confirmpassword" style="width:100px;height:18px;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;" /></td>
</tr>
<tr>
   <td align="right" height="13px">E-mail:</td>
   <td><input name="email" type="text" id="email" style="width:100px;height:18px;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;" /></td>
</tr>
<tr>
   <td colspan="2"><?php echo $error_message; ?></td>
</tr>
<tr>
   <td align="right" valign="bottom" colspan="2"><input type="submit" name="signup" value="Create User" id="signup" style="color:#006BF5;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;font-family:Verdana;font-size:11px;width:90px;height:20px;" /></td>
</tr>
</table>
</form>
</div>
<div id="wb_PasswordRecovery1" style="position:absolute;left:0px;top:185px;width:206px;height:74px;z-index:1;" align="left">
<form name="forgotpassword" method="post" action="<?php echo basename(__FILE__); ?>" id="forgotpassword">
<table cellspacing="4" cellpadding="0" style="background-color:#EFF6FF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;width:206px;height:74px;">
<tr>
   <td colspan="2" align="center" height="13px" style="background-color:#BFDBFF;color:#006BF5;">Forgot your password?</td>
</tr>
<tr>
   <td align="right"height="13px">Email:</td>
   <td><input name="email" type="text" id="email" style="width:100px;height:18px;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;" /></td>
</tr>
<tr>
   <td align="right" valign="bottom" colspan="2"><input type="submit" name="submit" value="Submit" id="submit" style="color:#006BF5;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;font-family:Verdana;font-size:11px;width:70px;height:20px;" /></td>
</tr>
</table>
</form>
</div>
</div>
โค๊ตนี้อ่ะครับ จะเพิ่มอะไร ยังไงมั่งครับ

suthida โพสต์ 2009-12-9 10:46:27

ถ้าทำแบบ ดิบๆเลย ปุ่ม submit ให้ใส่เป็นลิงค์จากทางบอร์ดเลยค่ะ ลิงค์กดเข้าระบบ/logging.php?action=loginแต่ถ้าจะทำแบบให้ล๊อกอินผ่านหน้า home ที่เราทำ และแสดงผลการล๊อกอินสำเร็จแล้ว ไว้จะมาทำบทความให้ค่ะ
หน้า: [1]
ดูในรูปแบบกติ: ทำล็อกอินแล้ว จะให้มันเชื่อมต่อ กันทำไง