2009/09/18 17:01:31
19608
0
[Á¦·Îº¸µå4] mysql 4.0 ÀÌÇÏ¿¡¼ 4.1 ÀÌ»óÀ¸·Î ¼¹öÀÌÀüÈÄ ·Î±×ÀÎ ¾ÊµÉ¶§
login_check.php ÆÄÀÏ ¼öÁ¤...
¿øº»¼Ò½º¸¦...
// ȸ¿ø ·Î±×ÀΠüũ
$result = mysql_query("select * from $member_table where user_id='$user_id' and password=password('$password')") or error(mysql_error());
$member_data = mysql_fetch_array($result);
´ÙÀ½°ú °°ÀÌ ¼öÁ¤...
// ȸ¿ø ·Î±×ÀΠüũ
$p_result = mysql_query("select length(password) from $member_table where user_id='$user_id'") or error("password error<br>".mysql_error());
$p_data = mysql_fetch_row($p_result);
if($p_data[0] == 41)
$result = mysql_query("select * from $member_table where user_id='$user_id' and password=password('$password')") or error(mysql_error());
else {
$m_result = mysql_query("select * from $member_table where user_id='$user_id' and password=old_password('$password')") or error(mysql_error());
$m_data = mysql_fetch_array($m_result);
if($m_data[no]) {
@mysql_query("update $member_table set password=password('$password') where no='$m_data[no]'") or error("new password update error<br>".mysql_error());
$result = mysql_query("select * from $member_table where user_id='$user_id' and password=password('$password')") or error(mysql_error());
}
else Error("·Î±×ÀÎÀ» ½ÇÆÐÇÏ¿´½À´Ï´Ù");
}
$member_data = mysql_fetch_array($result);
À§¿Í°°ÀÌ ÀÛ¾÷Çϱâ Àü¿¡ zetyx_member_tableÀÇ password Ä÷³±æÀ̸¦ 20¿¡¼ 41·Î Á¶Á¤
, 2009/09/18 17:01:46
ÄÚ¸àÆ®¸¦ ÀÛ¼ºÇϽøé 2 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.
293
Á¦·Îº¸µå4.1À» MySQL 5.0 ¹öÁ¯¿¡¼ ¼³Ä¡Çϱâ
[2]
05/26
20661
03/28(11:39)
1
ÆÁ/Å×Å©´Ð
[3]
11/01
20211
06/04(01:57)
301
Ŭ·´¹Ú½º °Ë»ö±â
¹öµåÀÌÅÍ
01/06
19964
302
½ÉÇÃÇÏ°í °£´ÜÇÑ °¡°èºÎ
[1]
¹öµåÀÌÅÍ
05/08
19923
09/23(19:33)
134
Á¦·Îº¸µå °Ô½ÃÆÇ À̸§ ¹Ù²Ù±â
12/31
19863
>>
[Á¦·Îº¸µå4] mysql 4.0 ÀÌÇÏ¿¡¼ 4.1 ÀÌ»óÀ¸·Î ¼...
09/18
19608
228
ȨÇÇ¿¡ ±¸±Û±¤°í ´Þ±â - AdSense
¸·µ¥¹«½Î
10/19
19236
307
°áÈ¥ ÀÚ±Ý ¸¶·Ã
±è¿ëÈ£
01/27
19213
264
¶óÀ̼¾½º ¸¸·áµÈ Æ÷Åä¼¥ ¾¾¸®¾ó ÃʱâÈÇϱâ
10/12
19136
152
Á¦·Îº¸µå °ü¸®ÀÚ Æнº¿öµå ºÐ½Ç½Ã ÇØ°á¹æ¹ý
02/28
19081
210
[TIP] À¯¿ëÇÑ ÆÁ
¸ÚÀïÀÌ
06/16
18499
249
ÀÀ´ä¾ø´Â ÇÁ·Î±×·¥ »¡¸®²ô±â ^^
[4]
±è¼º¼ö
02/23
18012
01/20(01:08)
216
IIS¿¡ PHP+MySQL¸¦ ¼³Ä¡ÇÏÀÚ.
À£Æ®
06/22
17902
4
Ç÷¡½¬ º£³Ê¸¸µé±â
[3]
11/12
17820
03/02(15:13)
225
[°Ãß]
ȨÆäÀÌÁö ü°¨¼Óµµ Çâ»ó!!!
[3]
10/04
17797
04/14(11:57)
FIRST
1
2
3
4
5
6
7
12
LAST
ÄÄÇ»Áî´åÄÄ(´ëÇ¥ ÀåÁ¤ÁÖ) ÀÎõ±¤¿ª½Ã µ¿±¸ ¹æÃà·Î83¹ø±æ 23, 24µ¿ 333È£
»ç¾÷ÀÚµî·Ï¹øÈ£ 137-05-83351, Åë½ÅÆǸŠÀÎõ µ¿±¸ 03-78È£, °³ÀÎÁ¤º¸Ã¥ÀÓÀÚ ÀåÁ¤ÁÖ