2009/09/18 17:01:31
19586
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 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.
296
ÇϷ縦 6½Ã°£À¸·Î 4°³·Î ³ª´©¾î °¢°¢ÀÇ ½Ã°£´ë¿¡...
[1]
Ã÷
06/22
15819
09/23(19:34)
295
¸¶¿ì½º¿¡¼ Á¶±ÝÇÑ ³ªºñ°¡ Ä¿Áö¸é¼ ¿Ã¶ó°¡´Â ½º...
[6]
Ã÷
06/22
15295
01/10(20:28)
294
¸·°ÇÑ ±â´ÉÀÇ ¾ËÅø¹Ù¸¦ ¼Ò°³ÇÕ´Ï´Ù.
[1]
°ø¼±»ý
06/18
12216
07/13(17:47)
293
Á¦·Îº¸µå4.1À» MySQL 5.0 ¹öÁ¯¿¡¼ ¼³Ä¡Çϱâ
[2]
05/26
20647
03/28(11:39)
292
Á¦·Îº¸µå4 ¼¹öÀÌÀüÈÄ ·Î±×ÀκҴɽà ÇØ°áÃ¥
[2]
05/23
15063
05/29(11:58)
291
ssh Á¢¼Ó À¯Áö ¹æ¹ý
[3]
²Ü¹Ú½º
04/28
15920
09/23(19:34)
290
°°Àº Æú´õ ¾È¿¡ ÀÖ´Â Æú´õ³ª ÆÄÀÏ Ã£¾Æ ¿Ã¸®±â(À©...
²Ü¹Ú½º
03/24
12719
289
CD³ª DVD¿¡ ÀúÀåÇÑ µ¥ÀÌÅÍ ¸ñ·ÏÀ» ÅؽºÆ®ÆÄÀÏ·Î ...
[3]
²Ü¹Ú½º
02/18
14766
01/20(01:06)
288
À¯¿ëÇÑ »çÀÌÆ® Çϳª ¼Ò°³(½ºÆÔÀüÈ È®ÀÎÇϴ ȨÆä...
唫챼
02/15
15389
287
´ëÇѹα¹À» ´ëÇ¥ÇÏ´Â ¸Å½ÅÁ®µé
[2]
Rickyman
02/04
13196
06/02(16:20)
286
ÀÎÅÍ³Ý ¹æȺ®¿¡ ´ëÇؼ...
[1]
Rickyman
02/04
12758
02/29(13:04)
285
¾Ñ! ¹ÙÅÁȸéÀÌ ¾Èº¸¿©
[1]
Rickyman
02/04
12352
06/02(16:21)
284
ÀÎÅÍ³Ý ÀͽºÇ÷η¯¸¦ ´ëüÇÏ´Â ÇÁ·Î±×·¥
Rickyman
02/04
12346
283
ÀÎÅͳÝÇÏ´Ù ÀÀ´ä¾øÀ½¶¸À»¶§ ´ëó¹æ¹ý
[1]
Á¿ì¸í
02/03
12910
06/02(16:21)
282
´«ÀÌ ÁÁ¾ÆÁö°Ô Çϴ¹ý
[6]
Á¿ì¸í
01/13
13627
01/20(01:06)
FIRST
1
2
3
4
5
6
7
12
LAST
ÄÄÇ»Áî´åÄÄ(´ëÇ¥ ÀåÁ¤ÁÖ) ÀÎõ±¤¿ª½Ã µ¿±¸ ¹æÃà·Î83¹ø±æ 23, 24µ¿ 333È£
»ç¾÷ÀÚµî·Ï¹øÈ£ 137-05-83351, Åë½ÅÆǸŠÀÎõ µ¿±¸ 03-78È£, °³ÀÎÁ¤º¸Ã¥ÀÓÀÚ ÀåÁ¤ÁÖ