[´Ù¿î¹ÞÀº ³«¼Àå ÀϺΰŵç¿ä]
ȸ鿡 ³ª¿Ã¼ö ÀÖ°Ô µµ¿ÍÁÖ¼¼¿ä...
#!/usr/bin/perl
##################################################
# #
#ÇÁ·Î±×·¥ : ½Åȣö, gifÆÄÀÏ : ÇÏÁö¿µ #
#Homepage : any.to/cybershin, hereim.corea.to #
#ÀÛ¼ºÀÏÀÚ : 99/11/10 #
# #
##################################################
$YourHomeURL = "
http://home.hanmir.com/~7bar/";#¿©±â¿¡ ȨÆäÀÌÁö »óÀ§¸Þ´º¸¦ Àû¾îÁÖ¼¼¿±
umask(0111);
$Act = "";
$Method = $ENV{
REQUEST_METHOD
};
if ($Method eq "GET") {
$buffer = $ENV{
QUERY_STRING
};
($ValueName, $Act) = split(/=/,$buffer);
}
if ($Method eq "POST") {
@list=();
$c = 0;
read(STDIN, $QueryString, $ENV{
CONTENT_LENGTH
});
@NameValuePairs = split (/&/, $QueryString);
foreach $NameValue (@NameValuePairs)
{
($Name, $Value) = split (/=/,$NameValue);
$Value =~tr/ / /;
$Value =~ s/%([dA-Fa-f][dA-Fa-f])/pack("C",hex($1))/eg;
$list[$c] = $Value;
$c =1;
}
$temp = pack("a1a1a300",$list[0],$list[1],$list[2]);
$DocFile = "./doc.txt";
open(FILE,$DocFile);
$docs =
;
close(FILE);
$docs ;
open(FILE,">$DocFile");
print FILE $docs;
close(FILE);
open(FILE,">$docs.txt");
print FILE $temp;
close(FILE);
$Act="";
}
&HTMLheader;
if ($Act eq "write") {
print << "ENDofFILE";
£º£º£º³«¼À壺£º£º