¸ÇÀ§·Î ¸Ç¾Æ·¡ ³×À̹öÅåÅå ±¸¸Å»ó´ã
°í°´´ÔÀÇ ¼Ò¸®¸¦
±Í±â¿ï¿© µè°Ú½À´Ï´Ù.
°í°´Áö¿ø ¸¶¹ý»ç 16±¸¸ÅÇýÅà Ŀ½ºÅ͸¶ÀÌ¡À̶õ?

¼Ö·ç¼Ç ±¸¸Å¹®ÀÇ °Ô½ÃÆÇ

cgimall¿¡ ¿À½Å °ÍÀ» ȯ¿µÇÕ´Ï´Ù. ±¸¸Å¹®ÀǸ¦ ³²°ÜÁֽøé Ä£ÀýÇÏ°Ô »ó´ãÇص帮°Ú½À´Ï´Ù.
1566-1621
[´äº¯] ¼¼¼Çº¯¼ö¿¡ ´ëÇØ Áú¹®Á»
BY HappyCGI 2008-06-16 (09:54:53) from 222.104.51.76
°ü·Ã±Û: 2 Á¶È¸¼ö : 2984
¿øº»±Û

ÇØÇÇÁ¤º¸¼Ö·ç¼ÇÀÇ °æ¿ì ÇöÀç ¼¼¼ÇÀ» ¾ÆÀ̵𸸠±Á´Â°Í °°Àºµ¥¿ä

 ºñ¹Ð¹øÈ£µµ ¼¼¼ÇÀ¸·Î ÀúÀåÇÏ·Á¸é ¾î¶»°Ô ÇØ¾ß µÉ±î¿ä?

¼¼¼Çº¯¼ö¸¦ ÀúÀåÇÏ·Á°í lib.php »ó´Ü¿¡

@session_start();

$mem_id = $_SESSION["userid"];
$mem_pass = $_SESSION["userpass"]; À̺κÐÀ» Ãß°¡Çߴµ¥ ¼¼¼ÇÀÌ ¾È±¸¾î Áö³×¿ä

º¯¼ö¸íÀÌ À߸øµÈ°Í °°Àºµ¥ ¾î¶»°Ô ÇØ¾ß µÇ³ª¿ä?

±×¸®°í ¼¼¼ÇÀ¸·Î ±¸¿öÁø º¯¼ö¸¦  »ç¿ëÇÏ·Á¸é  lib.php¿¡´Ù¸¸ Ãß°¡ÇÏ¸é µÇ³ª¿ä?

±×¸®°í ¼¼¼ÇÀ» ·Î±×¾Æ¿ô½Ã Á¾·á½ÃÅ°·Á¸é logout.php¿¡´Ù Ãß°¡ÇØÁÖ¸é µÇ´Â°Ç°¡¿ä?

 

 

¾È³çÇϼ¼¿ä ÇØÇÇCGI °³¹ßÆÀ ¹Î±ÔÅÂÀÔ´Ï´Ù.

lib.php ÆÄÀÏÀ» ¿­¾î¼­ »ó´Ü¿¡ ¾Æ·¡¿Í °°Àº ºÎºÐÀ»

 

@session_start();

$mem_id = $_SESSION["userid"];

 

¾Æ·¡¿Í °°ÀÌ ¹Ù²ãÁÝ´Ï´Ù.

@session_start();

$mem_id = $_SESSION["userid"];

$mem_pass = $_SESSION["userpass"];

 

login.php ÆÄÀÏÀ» ¿­¾î¼­

48¶óÀΠ$_SESSION["userid"]  = $id; ÀÌ ¹®Àå À» ã¾Æ¼­ ¾Æ·¡ÂÊ¿¡

$_SESSION[userpass] = $Temp["pass"];

¶ó´Â ÇÑÁÙÀ» Àû¾îÁÝ´Ï´Ù.

 

±×·¯¸é ¾ÆÀ̵ð´Â $_SESSION[userid] º¯¼ö·Î

ºñ¹Ð¹øÈ£´Â $_SESSION[userpass] º¯¼ö·Î

»ý¼ºµÇ´Â°É È®ÀÎ ÇϽǼö ÀÖ½À´Ï´Ù.

 

¼¼¼Ç º¯¼ö »èÁ¦¸¦ À§Çؼ­

logout.php ÆÄÀÏÀ» ¿­¾î¼­

15¶óÀΠ

$_SESSION["userid"] = "";

¾Æ·¡¿¡

$_SESSION["userpass"] ="";

¶ó°í ·Î±×¾Æ¿ô½Ã ºñ¹Ð¹øÈ£µµ »èÁ¦Çϱâ À§ÇØ ÇÑÁÙÀ» ÀÔ·ÂÇØÁÖ½Ã¸é µË´Ï´Ù.

 

¿øÇϽô ´äº¯ÀÌ µÇ¾úÀ¸¸é ÇÕ´Ï´Ù.

¾ÈµÇ´Â ºÎºÐÀÌ ÀÖÀ¸½Ã¸é 1566-1621 ÀúÈñ °í°´¼¾ÅÍ·Î ¿¬¶ôÁֽøé Ä£ÀýÈ÷ ´äº¯Çص帮°Ú½À´Ï´Ù.

±×·³ ÁÁÀº ÇÏ·ç µÇ¼¼¿ä


 

 

 

°ü·Ã °Ô½Ã±Û
ÀÚ·á Á¦¸ñ µî·ÏÀÏ Á¶È¸
¼¼¼Çº¯¼ö¿¡ ´ëÇØ Áú¹®Á» reopert2310 2008-06-13 3212
[´äº¯] ¼¼¼Çº¯¼ö¿¡ ´ëÇØ Áú¹®Á» HappyCGI 2008-06-16 2984