½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
css
mysql
html
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 18 | Á¶È¸¼ö 663 | µî·ÏÀÏ 2000-03-16 14:03:54

´Ð³×ÀÓ

HappyCGI

À̸ÞÀÏ

hero@happycgi.com

Á¦¸ñ

´äº¯ÀÔ´Ï´Ù
³»¿ë
¾È³çÇϼ¼¿ä. ÇØÇÇ CGI À¥¸¶½ºÅÍ À±¿µ¿õÀÔ´Ï´Ù
°£´ÜÇÏ°Ô Áö±Ý Çѹø Â¥º¼±î¿ä? ^^
¾Æ·¡´Â html ºÎºÐÀÔ´Ï´Ù.
<form action=test.cgi method=post>
¸¸µé µð·ºÅ丮 : <input type=text name=dir>
</form>
¾Æ·¡´Â test.cgi ³»¿ëÀÔ´Ï´Ù.
####################################################
#!/usr/bin/perl
unless ($ENV{CONTENT_LENGTH} eq "") {
read(STDIN, $buffer, $ENV{CONTENT_LENGTH});
}

@pairs = split(/&/, $buffer);
foreach $pair (@pairs) {
  ($kname, $value) = split(/=/, $pair);
  $value =~ tr/ / /;
  $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
  $$kname = $value;
}
system("mkdir $dir");
print "content-type:text/html ";
print "$dir µð·ºÅ丮°¡ ¼º°øÀûÀ¸·Î ¸Í±Û¾î Á³½¿µÂ";
####################################################
°¨»çÇÕ´Ï´Ù.
ÁÁÀº ÇÏ·çµÇ¼¼¿ä
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û cgi ¿¡°üÇÏ¿© 2000-03-16 12:49:03
´ÙÀ½°Ô½Ã±Û ÀÎÅͳμ­¹ö ¿¡·¯... 2000-03-16 14:52:00