<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Share to the world - สอบถามการสร้างรหัสเข้าดูหน้าเวปบางแผ่น]]></title>
	<link rel="self" href="http://www.meewebfree.com/talk/feed/atom/topic/7438/"/>
	<updated>2010-02-14T10:25:40Z</updated>
	<generator>PunBB</generator>
	<id>http://meewebfree.com/talk/viewtopic.php?id=7438</id>
		<entry>
			<title type="html"><![CDATA[Re: สอบถามการสร้างรหัสเข้าดูหน้าเวปบางแผ่น]]></title>
			<link rel="alternate" href="http://meewebfree.com/talk/viewtopic.php?pid=14371#p14371"/>
			<content type="html"><![CDATA[<p>ต้องพึ่ง PHP แและครับ<br />ถ้าง่ายๆก็กำหนดเลยครับเวลาเข้าหน้านี้มาให้ใส่ passwope แล้วเช็คเอาว่าถูกไหมถ้าใส่พาสเวิรดมาถูกก็จัดไป..<br />โค๊ดก็เหมือน ทำล็อกอินทั่วไปครับ<br />ถ้าใช้ sql ก็ประมาณนี้ครับ<br />$sql = &quot;SELECT * FROM admin WHERE user_admin = &amp;#039;$us&amp;#039; AND pass_admin = &amp;#039;$cp&amp;#039;&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp;&nbsp; $sqllg_query = mysql_query($sqllg); <br />&nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp;&nbsp; $sqllg_fa =mysql_fetch_array($sqllg_query); <br />&nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp;&nbsp; if($cp != $sqllg_fa[pass_admin] OR $us != $sqllg_fa[user_admin]){ echo &quot;ชื่อ หรือ รหัสผ่านไม่ถูกต้อง&quot;; exit();}<br />&nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp; <br />ถ้าไม่ใช่ sql กำหนด พาสมาเลยก็ประมาณแบบนี้ครับ<br />if($password !=&quot;พาสที่กำหนด&quot;){ echo &quot;รหัสผ่านไม่ถูกต้อง&quot;; exit();} </p><p>หรือจะเป็น javascript ก็แบบนี้ครับ<br />http://www.javascriptkit.com/script/script2/loginpass2.shtml</p><p> byeeee</p>]]></content>
			<author>
				<name><![CDATA[meawphp]]></name>
				<uri>http://meewebfree.com/talk/profile.php?id=374</uri>
			</author>
			<updated>2010-02-14T10:25:40Z</updated>
			<id>http://meewebfree.com/talk/viewtopic.php?pid=14371#p14371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: สอบถามการสร้างรหัสเข้าดูหน้าเวปบางแผ่น]]></title>
			<link rel="alternate" href="http://meewebfree.com/talk/viewtopic.php?pid=14357#p14357"/>
			<content type="html"><![CDATA[<p>จัดกลุ่มสมาชิกไงครับ ต้องวางแผนไว้แต่เนิ่นๆ แก้ทีหลังอาจพบบัค</p>]]></content>
			<author>
				<name><![CDATA[bonparadorn]]></name>
				<uri>http://meewebfree.com/talk/profile.php?id=344</uri>
			</author>
			<updated>2010-02-04T07:54:11Z</updated>
			<id>http://meewebfree.com/talk/viewtopic.php?pid=14357#p14357</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[สอบถามการสร้างรหัสเข้าดูหน้าเวปบางแผ่น]]></title>
			<link rel="alternate" href="http://meewebfree.com/talk/viewtopic.php?pid=14355#p14355"/>
			<content type="html"><![CDATA[<p>ทำเวปโดยใช้ Dreamweaver8<br />มีจุดประสงค์ให้บาง page ให้เข้าดูได้เฉพาะบุคคล<br />โดยบุคคลนั้นต้องได้รับ รหัสในการเข้าดูจากเรา<br />จะมีวิธีการทำอย่างไร</p>]]></content>
			<author>
				<name><![CDATA[san]]></name>
				<uri>http://meewebfree.com/talk/profile.php?id=2990</uri>
			</author>
			<updated>2010-02-02T09:02:13Z</updated>
			<id>http://meewebfree.com/talk/viewtopic.php?pid=14355#p14355</id>
		</entry>
</feed>

