elliot      2008/06/26 (17:18:17)     6067   
   php ¹®¹ýÀÌ ¹Ù²ï°Ç°¡¿ä? [1]
±âÁ¸¿¡ ÀÌ°÷¿¡¼­ »ç¿ëÇÏ´ø À¥¼­¹ö¿¡¼­ Àß µ¹¾Æ°¡´ø php À̸ÞÀÏ ¹ß¼Û ÇÏ´Â ºÎºÐÀÌ

À̹ø¿¡ »õ·Î ½ÅûÇÑ À¥¼­¹ö¿¡¼­ ¸ÞÀÏÀÌ ¹ß¼ÛµÇÁö ¾Ê¾Æ¼­ ¹®Àǵ帳´Ï´Ù.

Á¦°¡ php¸¦ Àß ¸ô¶ó¼­ Å×½ºÆ®¸¦ Çغ¸¾Ò´Âµ¥ Ãâ·Âµµ µÇÁö ¾Ê¾Æ¼­¿ä

ÆûÀÌ ÀÖ´Â °÷¿¡¼­

<input type="text" name="Name"> ÀÌ·±½ÄÀ¸·Î ÇØÁÖ¾ú°í

ó¸® ÆäÀÌÁö php ¿¡¼­´Â

echo ($Name); ÀÌ·±½ÄÀ¸·Î Çߴµ¥, ¾Æ¹«°Íµµ Ãâ·ÂÀÌ µÇÁö ¾Ê³×¿ä!

Æû°ªÀ» ¾Æ¿¹ ¾È°¡Á®¿À´Â°Í °°½À´Ï´Ù.

µµ¿ÍÁÖ¼¼¿ä ¤Ð¤Ð
writer ip : 211.33.59.130    


59.17.161.39
2008/06/26 (20:33:56)
¾Æ¸¶µµ º¸¾È»óÀÇ ¹®Á¦·Î phpÀÇ register_global ¿É¼ÇÀÌ ²¨Á®Àֱ⠶§¹®ÀÎ°Í °°½À´Ï´Ù.
ó¸®ÆäÀÌÁö¿¡¼­ POST·Î ³Ñ¾î¿Â°ªÀ» ÀçÁ¤ÀÇÇØ ÁÖ¼Å¾ß ÇÏ°Ú½À´Ï´Ù.

ó¸®ÆäÀÌÁö »ó´Ü¿¡ ´ÙÀ½ ±¸¹®À» »ðÀÔÇØ Áֽñ⠹ٶø´Ï´Ù.

<?

//// HTML Tag¸¦ Á¦°ÅÇÏ´Â ÇÔ¼ö
function del_html($str) {
    $str = str_replace( ">", "&gt;",$str );
    $str = str_replace( "<", "<",$str );
    return $str;
}

//// W3C P3P ±Ô¾à¼³Á¤
@header ("P3P : CP=\"ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC\"");

//// ȯ°æº¯¼ö ÀçÁ¤ÀÇ
@error_reporting(E_ALL ^ E_NOTICE);
foreach($HTTP_GET_VARS as $key=>$val) $$key = del_html($val);
@extract($HTTP_POST_VARS);
@extract($HTTP_SERVER_VARS);
@extract($HTTP_ENV_VARS);

?>



°¨»çÇÕ´Ï´Ù.

modify 2008/06/26 (20:35:02)
      

       

4762 ¹é¾÷½ÅûÇÕ´Ï´Ù!! [1] jungkiseung 05/09 0
4761 ¼­ºñ½º ÇØÁö°¡ ¾ÈµË´Ï´Ù [1] °Ç°­ÁöÅ´ÀÌ 05/09 0
4760 ¼­ºñ½º ¿¬Àå ½ÅûÇß½À´Ï´Ù. [1] DeiCide 05/05 4310
4759 DB»èÁ¦ ¹× ¼­¹öÀÌÀü ¿äûÇÕ´Ï´Ù. (¼öÁ¤ ³»¿ë ÀÖÀ½... [4] ²Þtree 05/03 4463
4758 µµ¸ÞÀÎ Æ÷¿öµù ºÎŹµå¸³´Ï´Ù. [1] ³¯¸²ÀÌ 04/26 0
4757 µµ¸ÞÀÎ Ãß°¡ ÀÌÀüÇß½À´Ï´Ù. [1] CMG 04/16 0
4756 ³×ÀÓ¼­¹ö ¿ë È£½ºÆ® µî·Ï ÀÌÀü½Ã ²À µî·Ï ¹Ù¶ø´Ï... [2] CMG 04/15 0
4755 À¥ÆäÀÌÁö¸¦ ãÀ»¼ö ¾ø½À´Ï´Ù. ¹®Á¦ [1] ¿ùÇâ 04/11 4701
4754 À¥È£½ºÆà ¾÷±×·¹À̵å ÇÏ·Á¸é¿ä... [1] ¶×ÀÌ 04/08 4235
4753 Á¦·Îº¸µå ¾ø±×·¹À̵å [1] ¶×ÀÌ 04/07 4500
4752 °èÁ¤ [3] Àͽº 04/06 0
4751 µµ¸ÞÀο¬ÀåÀÌ ¾ÈµÇ¿ä [1] koos 04/06 0
4750 db¹é¾÷ [1] ±î¸¶±¸ 04/05 4526
4749 È®ÀκÎŹµå·Á¿ä~ [1] jubong3 04/04 4975
4748 ¿¬Àå¿äû [3] jubong3 04/02 0
FIRST344142434445464754LAST