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

´Ð³×ÀÓ

parkhyunt

À̸ÞÀÏ

qkrgusxo93@naver.com

Á¦¸ñ

ÀÌ¿À·ù ÇØ°á¹ý ¾Æ½Ã´ÂºÐ..? (CGI)
³»¿ë

#

ÀÚ²Ù ¿ä·± ¿¡·¯°¡ ¾ÆÆÄÄ¡ ·Î±×¿¡ ³²´Âµ¥..

Prototype mismatch: sub main::decode ($$;$) vs none

decode´Â sub decode¶ó°í ÀÖ½À´Ï´Ù.

($$;$) vs none À̺κÐÀÌ ¹«½¼¼Ò¸°Áö ¸ð¸£°Ú¾î¿ä ¤Ð¤Ð

#

 

 

 

 

Prototype mismatch: sub main::decode ($$;$) vs none at ./sub.cgi ¸®ÆÛ·¯:ºñ¹Ð

subÀÇ ¹®Àںκп¡¼­ ¿À·ù°¡ ³ª°íÀִµ¥.
¼­¹ö ÀÌÀüÇϱâ Àü¿¡´Â ¾È±×·¨°Åµç¿ä;;
¿ÖÀÌ·¯Áö???

sub decode{
 if ($ENV{'REQUEST_METHOD'} eq "POST") {
  read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
 }else{$buffer = $ENV{'QUERY_STRING'}; }
 @buffer = split(/&/, $buffer);

 foreach (@buffer) {
 
  ($na, $val) = split(/=/, $_);

  $val =~ tr/+/\ /;$val =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
  $val =~ s/</&lt;/g;$val =~ s/>/&gt;/g;$val =~ s/\n//g;
  $val =~ s/=/=/g;$val =~ s/&/&/g;

  if ($na eq "message") {
   $val =~ s/\r\n/<br>/g;
   $val =~ s/\r/<br>/g;
   $val =~ s/\n/<br>/g;
  } else {
   $val =~ s/\r//g;
   $val =~ s/\n//g;
  }
  $in{$na} = $val;
 }
}

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
HappyCGI 2009-02-11 00:14:56
´ä±Û

¾îÀÍÈÄ.. Àúµµ Àß ¸ð¸£°Ú³×¿ä.
Á˼ÛÇÕ´Ï´Ù! ¤¾¤¾

ÀÌÀü°Ô½Ã±Û CGI ȯ°æ¿¡¼­ BACK°ü·Ã ½ºÅ©¸³Æ®.. 2009-02-01 00:06:48
´ÙÀ½°Ô½Ã±Û [asp] °Ô½ÃÆÇ ¼Ò½º Á» ºÁÁÖ¼¼¿ä. 2009-03-06 02:38:30