½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > PERL > PERL ¼Ò½ºÃ¢°í > ¸Þ¸ðÀå > shflashmemo V2 »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
CSS
HTML
MYSQL
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
shflashmemo V2
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù ¸Þ¸ðÀå
´Ù¿î·Îµå Ƚ¼ö 1108 ȸ
°£´Ü¼³¸í Ç÷¡½¬¿Í cgi°¡ °°ÀÌ ¿¬µ¿µÇ´Â °£´ÜÇÑ ¸Þ¸ðÀåÀÔ´Ï´Ù. µðÀÚÀÎÀÌ À̻ڱº¿ä.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â°¡ ¾ø½À´Ï´Ù ½ºÅ©·¦Çϱâ

###################################################################
#                                                                 #
#           README                                                #
#       shflashmemo V2                                    #
#                                                                 #
#  Author: Seungho Choo                                           #
#  EMail: choo_sh@yahoo.com                                       #
#  URL: http://tangible.new21.org                                 #
#                                                                 #
###################################################################

#License
»ó¾÷ÀûÀÎ ¿ëµµ¿ÜÀÇ ¼öÁ¤ ¹× ¹èÆ÷´Â °¡´ÉÇÕ´Ï´Ù.
¼öÁ¤¹èÆ÷ÇÏ½Ç °æ¿ì ¿øÀúÀÛÀÚÀÇ À̸§°ú À̸ÞÀÏ ÁÖ¼Ò¸¦ ³²°ÜÁֽñ⠹ٶø´Ï´Ù.

#±â´É
- ÃÊ°£´Ü ¹æ¸í·Ï
- ±Û¾´ÀÌ À̸§, ³¯Â¥, ¸Þ¸ð, ¹è°æ»çÁø

#ÁÖÀÇ»çÇ×
ÀÚ½ÅÀÇ À¥¼­¹ö³ª À¥°èÁ¤¿¡¼­ perl½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÒ ¼ö ÀÖ¾î¾ß ÇÕ´Ï´Ù.
¸¸¾à °Ô½ÃÆÇÀ̳ª ¹æ¸í·Ï µîÀ» ¼³Ä¡ÇÒ ¼ö ¾ø´Ù¸é, Ä«¿îÅÍ ¿ª½Ã ¼³Ä¡ ÇÒ ¼ö ¾ø½À´Ï´Ù.
flash5 Ç÷¯±×ÀÎÀÌ ¼³Ä¡µÈ À¥ºê¶ó¿ìÁ®¿¡¼­¸¸ º¼ ¼ö ÀÖ½À´Ï´Ù.

#¼³Ä¡¼³¸í
1. unzip
- shmemo.fla  : Ç÷¡½¬ 5 ÆíÁýÆÄÀÏ
- shmemo.swf  : shockwave file complied with flash 5
- shmemo.log  : µ¥ÀÌŸ ÆÄÀÏ
- shmemo.cgi  : perl script
- README(korea).txt : Áö±Ý Àаí ÀÖ´Â ÆÄÀÏ

2. ¼­¹ö¿¡ ¾÷·Îµå
shmemo.swf
shmemo.log
shmemo.cgi - cgi-binµîÀÇ Æ¯Á¤directory¿¡¼­¸¸ Çã¿ëµÉ °æ¿ì ÀÚ½ÅÀÇ ¼­¹öȯ°æ¿¡ ¸ÂÃç ¾÷·ÎµåÇÕ´Ï´Ù.

3. permission
shmemo.log -> chmod 766  (µ¥ÀÌŸ ÆÄÀÏ)
shmemo.cgi   -> chmod 755 (½ÇÇà°¡´ÉÇÑ ÆÄÀÏ)

4. ¼öÁ¤
 4-1.flash5·Î ÆíÁýÀÌ °¡´ÉÇÒ °æ¿ì
 Ã¹¹ø° ÇÁ·¹ÀÓ¿¡¼­
 cgilocation = http://localhost/cgi-bin/memo/shmemo.cgi;
 ¾ÕºÎºÐÀÇ //¸¦ Á¦°ÅÇϽðí cgilocationÀº ÀÚ½ÅÀÇ ¼­¹ö¿¡ shmemo_ver1.cgi ÆÄÀÏÀÇ °æ·Î¿Í À̸§¿¡ µû¶ó º¯°æÇØ ÁÖ½Ã¸é µË´Ï´Ù.

 4-2. flash5 ÆíÁýÀÌ ºÒ°¡´ÉÇÒ °æ¿ì
 shmemo.swf¸¦ ±×³É »ç¿ëÇÏ½Ç °æ¿ì, cgi°æ·Î¸¦ swf·Î Àü´ÞÇϱâ À§ÇØ htmlű׿¡¼­ ¾Æ·¡ÀÇ 2ºÎºÐÀ» ¼öÁ¤ÇÏ½Ã¸é µË´Ï´Ù.

 //////¼öÁ¤ÇϽŠµÚ htmlÆäÀÌÁö¿¡ copy&pasteÇϼ¼¿ä.//////////////////////////////////
 <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  codebase="http://download.macromedia.com/ pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
  WIDTH=450 HEIGHT=300>
  <PARAM NAME=movie VALUE="shmemo.swf?cgilocation=http://cgi°æ·Î"">
  <PARAM NAME=quality VALUE=high>
  <PARAM NAME=bgcolor VALUE=#FFFFFF>
  <EMBED src="shmemo.swf?cgilocation=http ://cgi°æ·Î""
   quality=high
   bgcolor=#FFFFFF
   WIDTH=450 HEIGHT=300
   TYPE="application/x-shockwave-flash"
   PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
 </EMBED>
 </OBJECT>

 4-3. cgiÆÄÀÏ ¼öÁ¤
 -cgiÆÄÀÏÀÇ Ã¹¹ø° ¶óÀÎ
 #!/usr/bin/perl
 ÀÚ½ÅÀÇ ¼­¹ö¿¡ ¼³Ä¡µÈ perlÀÇ °æ·Î¿¡ ¸ÂÃç¼­ º¯°æ
 -log_file °æ·Î
 $log_file = "Àý´ë°æ·Î/shmemo.log";
 ÀÌ °æ·Î´Â urlÀÌ ¾Æ´Ï¶ó ¼­¹öÀÇ Àý´ë°æ·ÎÀÔ´Ï´Ù.
 telnetÀ̳ª ftp¸¦ Çؼ­ º¸ÀÌ´Â °æ·Î°¡ ¹Ù·Î Àý´ë °æ·ÎÀÔ´Ï´Ù. ÀÚ½ÅÀÇ Àý´ë°æ·Î¸¦ ¸ð¸¦ °æ¿ì ¼­¹ö°ü¸®ÀÚ¿¡°Ô ¹°¾îº¸½Ã±â ¹Ù¶ø´Ï´Ù.
 http://·Î ½ÃÀÛÇؼ­´Â ¾ÈµË´Ï´Ù.

5. ½ÇÇàÇϱâ
ÇÑ ½ºÅÜÀÌ ¿Ï¼ºµÇ¸é ´ÙÀ½ ½ºÅÜÀ» Å×½ºÆ®Çغ¸¼¼¿ä.¹Ù·Î Ç÷¡½¬ ¹«ºñ·Î È£ÃâÇϽøé, ¹®Á¦¸¦ ã±â Èûµì´Ï´Ù.

 5-1. cgiÆÄÀÏÀ» Á÷Á¢ À¥ºê¶ó¿ìÁ®¿¡¼­ È£ÃâÇغ¾´Ï´Ù.
 À̶§ ¿¡·¯¸Þ¼¼Áö°¡ º¸À̸é,
 cgiÆÄÀÏÀÇ Æ۹̼ÇÀÌ Àß ¸øµÇ¾úÀ» ¼ö ÀÖ½À´Ï´Ù.
 5-2. ÀÔ·ÂÅ×½ºÆ®
 À̹ø¿£ http://yourcgiurl?mode=write&name=test&message=test ¸¦ ºê¶ó¿ìÁ®¿¡¼­ ½ÇÇàÇغ¾´Ï´Ù. ÀÌ°ÍÀº Ç÷¡½¬ ¹«ºñ°¡ cgi¸¦ È£ÃâÇÏ´Â °Í°ú ¶È°°Àº °ÅÁÒ.
 ºê¶ó¿ìÁ®¿¡ ³ªÅ¸³­ °á°ú°¡ °è¼Ó °°Àº °ª¸¸ º¸ÀÌ°í, »õ·Î¿î ¸Þ¼¼Áö°¡ ÀԷµÇÁö ¾Ê´Â´Ù¸é, logÆÄÀÏÀÇ °æ·Î³ª Æ۹̼ÇÀÌ À߸ø µÇ¾úÀ» ¼ö ÀÖ½À´Ï´Ù.
 5-3. flash¹«ºñ ½ÇÇà
 Ç÷¡½¬ ¹«ºñ°¡ ùÇÁ·¹ÀÓ¿¡¼­ ÁøÇàÀÌ µÇÁö ¾ÊÀ¸¸é, cgilocation°ªÀÌ Àß ¸ø µÇ¾ú±â ¶§¹®ÀÔ´Ï´Ù.

#bug report
¸¸¾à ¹ö±×¸¦ ¹ß°ßÇϽøé, choo_sh@yahoo.comÀ¸·Î À̸ÞÀÏÀ» Áֽñ⠹ٶø´Ï´Ù.

 


³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
µî·ÏµÈ ÀÇ°ßÀÌ ¾ø½À´Ï´Ù.
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 23483647 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.