[quote:5a4aeca0b7="jh298"]¼¹ö:½Ó¹Ù
ȯ°æÀº ·ÎÄÿ¡¼ ÇÏ°í ÀÖ±¸¿ä......
¿¹¸¦ µé¾î¼.....
ÀÌ·¸°Ô ÇÏ°í À¥¿¡¼ ½ÇÇà½ÃÅ°°í °ªÀ» ÀÔ·ÂÇϸé
±×³É cgi¼Ò½º°¡ ÅؽºÆ® Çü½ÄÀ¸·Î
±×³É Ãâ·Â µË´Ï´Ù.
#!c:\Perl\bin\perl.exe
$length=$ENV{'CONTENT_LENGTH'};
if($length) {
read(STDIN,$vals,$length);
} else {
$vals=$ENV{'QUERY_STRING'};
}
@namevalue=split(/&/,$vals)
foreach $tmp (@namevalue) {
($name,$value)=split(/=/,$tmp,2);
$value =~ tr/+/ /;
$value =~ s/%(..)/pack("c",hex($1))/ge;
$values{$name}=$value;
}
print "$values{'irum'}
";
print "$values{'pass'}";
¾Æ½Ã´Â ºÐÀº ÀÌÀ¯¸¦ ¾Ë·ÁÁÖ¼¼¿ä......
.[/quote:5a4aeca0b7]
°£´ÜÇØ¿ä.
¾ÆÆÄÄ¡³ª ¼¹ö¼³Á¤¿¡¼ cgi°¡ µÇµµ·Ï ¼³Á¤À» ¾ÈÇØÁּż ±×·¯ÁÒ.
¾ÆÆÄÄ¡ÀÇ °æ¿ì httpd.conf ÆÄÀÏÀ» Àû´çÈ÷ ¼öÁ¤ÇÏ¼Å¾ß ÇÕ´Ï´Ù.
¼Ò½ºÄڵ尡 ³ª¿À´Â°Ç ¼¹ö¿¡¼ cgi¸¦ ÀÎ½Ä ¸øÇؼ ±×·¸½¿µÂ.
¶¡~