¾È³çÇϽʴϱî? ³ªÃ¢È£¶ó°í ÇÕ´Ï´Ù.
¸¹Àº ºÐµéÀÌ ¸µ½º2.0°ú ¸Þ°¡¸µ½º¿¡¼ ÇÑ±Û ¹®Á¦·Î °í¹ÎÇϽô °Å °°¾Æ¼ ÇѱÛ󸮿¡ °üÇÑ ¹æ¹ýÀ» ¿Ã¸³´Ï´Ù.
==================================================================
¸µ½º 2.0
¸µ½º 2.0¿¡¼ ¼öÁ¤ÇØ¾ß ÇÒ ºÎºÐÀº ´ÙÀ½°ú °°½À´Ï´Ù.
1. category.def ÆÄÀÏÀÇ 25¹ø ¶óÀο¡ ÀÖ´Â ´ÙÀ½ Äڵ带 ¼öÁ¤ÇÕ´Ï´Ù.
¼öÁ¤Àü.
Name => [1,
alpha
, 40, 75, 1,
,
^[wd/_-] $
],
¼öÁ¤ÈÄ.
Name => [1,
alpha
, 40, 75, 1,
,
^*&pip;[wd/_-] $
],
2. nph.build.cgiÀÇ ¸Ç ¾Æ·¡¿¡ ÀÖ´Â sub build_check_dir {... ºÎºÐ¿¡¼
´ÙÀ½ ¶óÀÎÀ» ¼öÁ¤ÇÕ´Ï´Ù.
¼öÁ¤Àü.
if ($dir !~ m,^[wd$chrs] $,)
¼öÁ¤ÈÄ
if ($dir !~ m,^*&pip;[wd$chrs] $,)
3. db_utils.plÀÇ ´ÙÀ½ºÎºÐÀ» ¼öÁ¤ÇÕ´Ï´Ù.
¼öÁ¤Àü.
sub urlencode {
# --------------------------------------------------------
# Escapes a string to make it suitable for printing as a URL.
#
my($toencode) = shift;
$toencode =~ s/([^a-zA-Z0-9_-.])/uc sprintf("%%x",ord($1))/eg;
$toencode =~ s/////g;
return $toencode;
}
¼öÁ¤ÈÄ.
sub urlencode {
# --------------------------------------------------------
# Escapes a string to make it suitable for printing as a URL.
#
my($toencode) = shift;
$toencode =~ s/([^a-zA-Z0-9_-.])/uc sprintf("%%x",ord($1))/eg;
$toencode =~ s/////g;
$toencode=~s/%(..)/pack("c",hex($1))/ge;
return $toencode;
}
==============================================================================
¸Þ°¡¸µ½º
´ÙÀ½±ÛÀ» Âü°í.
http://www.happycgi.com/forum/hits.cgi?url=http://www.happycgi.com/forum/links_plug/27.htmlÀ½ ±×¸®°í ³¯Â¥ º¯°æ¿¡ °üÇؼ´Â À§±ÛÀ» Âü°íÇϽðí, ¸µ½º2.0¿¡¼´Â
nph-build.cgi ÆÄÀÏ¿¡¼ 3°÷À» ¼öÁ¤ÇØ¾ß ÇÕ´Ï´Ù.
591¹ø ¶óÀΰú 862, 868¹ø° ¶óÀÎÀ» 1990-01-1 ¶Ç´Â 1990-1¿ù-1°ú °°ÀÌ ¼öÁ¤ÇÕ´Ï´Ù.
À§ ÄÚµå´Â Á¦°¡ ¹æ±Ý ¸µ½º2.0À¸·Î ½ÃÇèÇÑ °ÍÀÌ¸ç ¹®Á¦µÇ´Â °÷Àº ¾ø½À´Ï´Ù.
Ä«Å×°í¸® µð·ºÅ丮¸¦ ¸¸µé¶§ ¸µ½º¿¡¼´Â /_ µîÀÇ ÁÖ¾îÁø ¹®ÀÚ¿Í ¾ËÆĺª ±×¸®°í ¼ýÀÚ¸¸À» Çã¿ë
Çϱ⠶§¹®Àε¥, ÀÌ°ÍÀ» Çѱ۵µ ÀνÄÇϵµ·Ï ·¹±Ö·¯ ÀͽºÇÁ·¹À̼ÇÀ» ¼öÁ¤ÇÑ °ÍÀ̸ç, ¶ÇÇÑ
µð·ºÅ丮°¡ ½ºÅ×ÀÌÅͽº³ª ºê¶ó¿îÀúÀÇ ÁÖ¼Òâ¿¡ %¿Í 16Áø¼ö·Î Ç¥±âµÇ´Â °ÍÀº µð·ºÅ丮 À̸§À» µðÄÚµùÇß´Ù°¡ ´Ù½Ã ¾ËÆĺª°ú ¼ýÀÚ·Î ÀÎÄÚµùÇϱ⠶§¹®ÀÔ´Ï´Ù. ÀÌ ÀÎÄÚµùµÇ´Â ºÎºÐ¿¡¼ ÇѱÛÀ» ´Ù½Ã ¿ø·¡´ë·Î ÀÎÄÚµùµÇ°Ô ÇÑ°ÍÀÔ´Ï´Ù.
ÀÌ°ÍÀº ÇѱÛÀ» ¾²°í ÆùÆ®¸¦ ¿µ¹®ÆùÆ®·Î ÁöÁ¤ÇÑ °Í°ú °°Àº ²ÃÀÌ µÇ¾î¼ ºê¶ó¿ìÀúÀÇ ½ºÅ×ÀÌÅͽº¿¡ ÇѱÛÀÌ ±úÁ®º¸ÀÌ°Ô µÇ´Â °ÍÀÔ´Ï´Ù.
¶ÇÇÑ, °Ë»ö½Ã °Ë»ö¾î°¡ ºê¶ó¿ìÀúÀÇ ÁÖ¼Ò¶õ¿¡ %¿Í 16Áø¼ö·Î ÇѱÛÀÌ ³ªÅ¸³ª´Â °Íµµ ¸¶Âù°¡ÁöÀÔ´Ï´Ù. ÀÌ ºÎºÐÀº ¼öÁ¤ÇÏÁö ¾Ê¾Ò½À´Ï´Ù. ¾ßÈÄ ÄÚ¸®¾ÆÀÇ ½ºÅ©¸³Æ®µµ ¸¶Âù°¡Áö·Î °Ë»ö½Ã ÇѱÛÀÌ ÁÖ¼Ò¶õ¿¡ ±úÁ®¼ ³ªÅ¸³³´Ï´Ù.
³ªÃ¢È£ µå¸².