½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > PERL > PERL ¼Ò½ºÃ¢°í > Ä«¿îÅÍ > ±×·¡ÇÈ ±â¹Ý > shcounter ver1 »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
shcounter ver1
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù ±×·¡ÇÈ ±â¹Ý
´Ù¿î·Îµå Ƚ¼ö 1495 ȸ
°£´Ü¼³¸í Ç÷¡½Ã Ä«¿îÅÍ ½Ã¸®ÁîÁß ¹öÀü1À» ¹ßÇ¥ÇÕ´Ï´Ù. ±â´ÉÀº Àüü,¿À´Ã,¾îÁ¦ ±×¸®°í ¹æ¹®ÀÚÀÇ Á¶È¸¼ö¸¦ º¸¿©ÁÖ°í, ÇöÀç½Ã°¢,¿À´Ã³¯Â¥µîÀ» º¸¿©ÁÝ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â°¡ ¾ø½À´Ï´Ù ½ºÅ©·¦Çϱâ
1. flash5 ·Î ÆíÁýÀÌ °¡´ÉÇϽŠºÐÀº µðÀÚÀÎÀ» ¹Ù²Ù°Å
³ª, ·¹À̾ƿôÀ» ¹Ù²Ü ¼ö ÀÖÀ¸¸ç, ù¹ø° ÇÁ·¹ÀÓ¿¡¼­
//mode="true"
//cgilocation = ""
target = _blank>http://localhost/
cgi-bin/counter/shcounter_open.cgi";
¾ÕºÎºÐÀÇ //¸¦ Á¦°ÅÇϽðí cgilocationÀº ÀÚ½ÅÀÇ
¼­¹ö¿¡ shcounter_ver1.cgi ÆÄÀÏÀÇ °æ·Î¿Í À̸§¿¡
µû¶ó º¯°æÇØ ÁÖ½Ã¸é µË´Ï´Ù.

2. flash5 ÆíÁýÀÌ ºÒ°¡´ÉÇϽŠºÐÀº
target = _blank>
http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=5,0,0,0"WIDTH=120
HEIGHT=40>

NAME=bgcolor VALUE=#FFFFFF> src="shcounter_ver1.swf" quality=high
bgcolor=#FFFFFF WIDTH=120 HEIGHT=40
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="" target =
_blank>http://www.macromedia.com/shockwave/downloa
d/index.cgi?P1_Prod_Version=ShockwaveFlash">



¿¡¼­
VALUE="shcounter_ver1.swf?cgilocation=http://cgi
°æ·Î¹× ÆÄÀϸí&mode=true"
EMBED src="shcounter_ver1.swf?
cgilocation=http://cgi °æ·Î¹× ÆÄÀϸí&mode=true"
·Î º¯°æÇØÁÖ½Ã¸é µË´Ï´Ù.



3. cgiÆÄÀÏÀº

#!/usr/bin/perl
ÀÚ½ÅÀÇ ¼­¹ö¿¡ ¼³Ä¡µÈ perlÀÇ °æ·Î¿¡ ¸ÂÃç¼­ º¯°æ
$log_file = "f:/localhost/flash-bin/counter/shcounter.log";

shcounter.log°¡ Ä«¿îÅÍ µ¥ÀÌÅ͸¦ ±â·ÏÇÏ´Â ÆÄÀÏÀÔ´Ï´Ù.
°ø¹é¹®¼­¸¦ Çϳª»ý¼ºÇϽðí
shcounter.log¶ó°í À̸§À» Áֽðí
chmod 766 µîÀ¸·Î ÆÛ¹Ì¼Ç Á¶Á¤À» ÇÕ´Ï´Ù.

ÀÌÇÏ´Â ¼öÁ¤ÇÒ °÷ÀÌ ¾ø½À´Ï´Ù.
cgiÆÄÀÏÀ» ¼­¹ö¿¡ ftpµîÀ¸·Î ¾÷·ÎµåÇϽŠµÚ
Æ۹̼ÇÀ» 755·Î ¹Ù²ß´Ï´Ù.

³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
¤º¤»¤º¤»
2006-08-01 16:04:19
Divx
Âù¼º 74
¹Ý´ë 71
µåµ®~ ¼º°ø... À§¿¡ ÆãÅ°´ÔÀÇ ¸»¾¸°ú °°ÀÌ CGI ÆÄÀÏÀ» ¼öÁ¤ÇØÁֽðí Ç÷¡½¬ ÆÄÀÏ¿¡¼­µµ ¼öÁ¤À» ÇØÁֽøé Àß ÀÛµ¿ÇÕ´Ï´Ù. ÈÞ~ Èûµé°Ô ¼º°øÇ߳׿ä. ^^
2006-08-01 15:25:04
mainuri
Âù¼º 69
¹Ý´ë 68
ÀÌÄ«¿îÅÍ Á¦È¨¿¡ ´Þ¾Ò´Âµ¥ ¾î¶²Áö Æò°¡Á» ºÎŹÇÒ°Ô¿©..
¹öÆ°±â´ÉÀº ¾ÈµÇÁö¸¸ °Ô½ÃÆÇÀº Ç÷¹½¬·Î µÇ¾îÀ־. Çѹøº¸¼¼¿©...http://myhome.naver.com/sk9807
2001-02-05 00:00:00
hankoon
Âù¼º 65
¹Ý´ë 64
±Ùµ¥¿ä..ºÐ¸í ³ª¸ð³ª µå¸²À§¹ö¿¡¼± º¸À̴µ¥ ÀͽºÇ÷η¯¿¡¼­´Â
¾Èº¸À̰ŵç¿ä...ÀÌ°Å ¾î¶»°Ô µÈ°ÇÁö...
2001-01-19 00:00:00
±×¶ûµð½º
Âù¼º 72
¹Ý´ë 72
sub read_only() {
open(FILE, "<$log_file");
$hit = <FILE>;
($hit_total,$hit_today,$hit_yesterday,$lastday) = split(/:/, $hit);
close(FILE);
print "Content-type: text/plain

";
print "&total=$hit_total&yesterday=$hit_yesterday&today=$hit_today";
print "&eof=true&";

shcounter.cgi º¸¸é À§¿Í °°Àº
ºÎºÐÀÌ Àִµ¥ ±×°÷¿¡¼­ today¿Í
yesterday ºÎºÐÀ» À§¿Í °°ÀÌ
¹Ù²Ù¾î Áà¾ß ¹ö±×°¡ ¾Ê»ý±é´Ï´Ù.
2001-01-19 00:00:00
ÆãÅ°
Âù¼º 65
¹Ý´ë 68
Àúµµ µåµð¾î ¼º°øÇß½À´Ï´Ù.
Àá½Å²²¼­ ÀÚ¼¼ÇÑ ¼³Ä¡¹ýÀ» ÀÛ¼ºÇØÁ̴ּµ¥, ÀúÀÇ °æ¿ì´Â ¾à°£À» º¸¿ÏÇϴϱî Á¦´ë·Î µ¹¾Æ°¡´õ±º¿ä ¸ðµç °ÍÀº Àá½Å²²¼­ ¿Ã·ÁÁֽŠ³»¿ë´ë·Î ÇÏ¸é µÇ±¸¿ä ±×·¡µµ ¾ÈµÇ½Å ºÐµéÀº
¾Æ·¡ÀÇ ºÎºÐ¿¡ ÀÚ½ÅÀÇ urÀ» Ãß°¡ÇϽÅÈÄ ´Ù½Ã Çѹø Çغ¸¼¼¿ä value="http://ÀÚ½ÅÀÇ µµ¸ÞÀÎ/Ä«¿îÅ͵ð·¢Å丮¸í/shcounter_ver1.swf?cgilocation=http://ÀÚ½ÅÀÇ µµ¸ÞÀÎ/Ä«¿îÅ͵ð·¢Å丮¸í/scounter.cgi&mode=true">
<param name=quality value=high>
<embed src="http://ÀÚ½ÅÀÇ µµ¸ÞÀÎ/Ä«¿îÅ͵ð·¢Å丮¸í/shcounter_ver1.swf?cgilocation=http://ÀÚ½ÅÀÇ µµ¸ÞÀθí/Ä«¿îÅ͵ð·ºÅ丮¸í/shcounter.cgi&mode=true" quality=high
ÀÌ À§ÀÇ ºÎºÐ¸¸ ¹Ù²Ù¾î Çغ¸¼¼¿ä
2001-01-13 00:00:00
Ä«¿îÅ͸Ç
Âù¼º 67
¹Ý´ë 72
Àúµµ CGI¼³Ä¡´Â ¸¹ÀÌ Çغôµ¥..
shcounter.cgi·Î ¶ç¿ü´õ´Ï
&total=1&today=1&yesterday=0&you=28&eof=true&
ÀÌ·¸°Ô ³ª¿À´Â±º¿ä..
±×¸®°í ¿©±â¼­ °è¼Ó Ŭ¸¯Çϸé You°¡ ¿Ã¶ó°©µð´Ù...
±×·³ Á¦´ë·Î µÈ°Ç°¡¿ä?
ÀÌ°Ô Á¦´ë·Î µÈ°Å¶ó¸é Á¦°¡ ´Ù¸¥ ºÐµé²² ½±°Ô ¸Þ´º¾ó°°ÀÌ Çϳª ¸¸µé¾î¼­¿Ã¸®ÁÒ..
2001-01-12 00:00:00
Àá½Å
Âù¼º 68
¹Ý´ë 67
µåµ® Á¤È®È÷ ¾î¶»°Ô ¿Ã¸®´ÂÁö ¾Ë¾Ò½À´Ï´Ù.

ÀÏ´Ü ÀÛ¾÷ÇÏ°í ÀÖ´Â ÆäÀÌÁö¿¡ Ç÷¡½¬ ³Ö´Â ¹æ¹ý¿¡ ´ëÇØ ¾Ë¾Æ¾ß Çϴµ¥..

µå¸²À§¹ö¿¡¼­´Â ¹Ù·Î °³Ã¼»ðÀÔÀ¸·Î È®ÀÎÀÌ µË´Ï´Ù.
µå¸²À§¹ö¸¦ ¾²½ÃÁö ¾ÊÀ¸½Å´Ù¸é Á÷Á¢ »ðÀÔÀ» Çؾ߰ÚÁÒ..

<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="120" height="40">
<param name=movie value="shcounter_ver1.swf?cgilocation=http://»ç¿ëÀÚÀÇ url/shcounter.cgi&mode=true">
µå¸²À§¹ö¿¡¼­ °³Ã¼»ðÀÔÀ¸·Î ³ÖÀ¸¸é shcounter_ver1.swf¹Û¿¡´Â ¾È¾²¿©Á®¿ä.
±×·¯´Ï±î ÄÚµåÆíÁýÀ¸·Î °¡¼Å¼­ »ç¿ëÀÚÀÇ urlÀ» ³Ö°í ÃÖÁ¾ À§Ä¡¿Í ÆÄÀÏÀ̸§±îÁö ³Ö°í³ª¸é µË´Ï´Ù.
<param name=quality value=high>
<embed src="shcounter_ver1.swf?cgilocation=http://»ç¿ëÀÚÀÇ url/shcounter.cgi&mode=true" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="40">
À§¿¡¸¸ÀÌ ¾Æ´Ï¶ó ¿©±âµµ µ¿ÀÏÇÏ°Ô ÀÛ¾÷À» ÇØÁà¾ß ÇÕ´Ï´Ù.

¾Æ¸¶µµ ÀÌ·¸°Ô º¹ÀâÇÑ °Ç Ç÷¡½¬ 5.0 Ç÷¯±×ÀÎÀÌ ÀÖ´ÂÁö ¾ø´ÂÁö È®ÀÎÇÏ·Á´Â °É°É¿ä..
ÇÏ¿©Æ° ÀÌ·¸°Ô ÇÏ°í³ª¼­
shcounter.cgi·Î °¡¾ß ÇÕ´Ï´Ù.

ÀÌ ÆÄÀÏÀ» ¿­¸é
setting ºÎºÐ¿¡¼­...
·Î±×ÆÄÀÏ À§Ä¡¸¦ ÁöÁ¤ÇØÁÖ´Â°Ô ³ª¿É´Ï´Ù.
¿©±â¼­´Â Àý´ëÀ§Ä¡¸¦ Á¤ÇØÁà¾ß Çϴµ¥ ÀÌ°Ç¿ä...
logÆÄÀÏÀÌ ÀÖ´Â °÷¿¡ ÅÚ³ÝÀ¸·Î Á¢¼ÓÇؼ­ pwd¸¦ Ä¡¸é ³ª¿É´Ï´Ù.
¾Æ¸¶µµ /home/¾î¼±¸/cgi°¡ ÀÖ´Â À§Ä¡... ÀÌ·¸°Ô ³ª¿Ã°Ì´Ï´Ù.
±×¸®°í shcounter.logÀÇ Æ۹̼ÇÀ» 766À¸·Î ÇØÁà¾ß ÇÏÁÒ..
<Á¦°¡ ÀÛ¾÷ÇÏ°í Àִ ȨÆäÀÌÁö¿¡¼­´Â ¾Æ·¡¿Í °°ÀÌ ½áÁà¾ß ÇÏ´õ±º¿ä.>
$log_file = "/home/nsm/shcounter/shcounter.log"; #the absolute path of log_file (chmod 766)
$log_file_cookie = ``shfcount``; #name unique one
$expire_cookie = 90;
$use_lock = 1; #(1 if use file lock else 0)

±×¸®°í ¼Ò½º ºÐ¼®Çغ¸´Ï±î
total:today:yesterday:³¯Â¥...
ÀÌ·¸°Ô ÄÝ·ÐÀ¸·Î ±¸ºÐµÇ¾î ÀÖ´õ±º¿ä...
´ç¿¬È÷ ·Î±×ÆÄÀÏ ¾È¿¡µµ ÀÌ·¸°Ô¸¸ Á¤º¸°¡ ÀÖ°ÚÁÒ...
·Î±×ÆÄÀÏ¿¡ °¡¼­ Áö±Ý±îÁö Àüü Ä«¿îÅÍ ¼ýÀÚ¸¦ Á¦ÀÏ ¾Õ¿¡ ½áÁÖ°í
¿À´ÃÀ̳ª ³»ÀÏ, ³¯Â¥´Â °íÄ¡Áö ¾Ê¾Æµµ ¾Ë¾Æ¼­ °íÃÄÁý´Ï´Ù.
Áö±Ý ÇÊ¿äÇÑ °Ç Àüüī¿îÅ͸¦ ¾î¶»°Ô ½ÃÀÛÇÏ´À³Ä ÇÏ´Â °Å´Ï±î.. ^^

±Ùµ¥ ¹ö±×°¡ ÀÖ´õ±º¿ä.
¿À´Ã, ¾îÁ¦, ³»°¡ Ŭ¸¯Çß´ø°Å, ³¯Â¥, ½Ã°£ÀÌ ³ª¿À°í
ÇѹÙÄû µ¹°í³ª¸é ´Ù½Ã ½ÃÀÛÇÏÁÒ.
±×·±µ¥ À§¿¡ ŸÀÌƲÀº ±×´ë·Î ¿À´Ã, µ¥ÀÌŸ´Â ¾îÁ¦ µ¥ÀÌŸ
±×´ÙÀ½¿¡ ŸÀÌƲÀº ¾îÁ¦, µ¥ÀÌŸ´Â ¿À´Ã µ¥ÀÌŸ

µÑÀÌ ¹Ù²î¾î¼­ ³ª¿À´õ±º¿ä.. ¹ö±× ¼öÁ¤ÇØÁÖ¼¼¿ä...Á¦°¡ ÇÏ·Á´Ï±î ¾ÈµÇ¼­ ^^
³¯Â¥µµ ³â, ¿ù, ÀÏ ³ª¿À°Ô ÇÑ °Í °°´øµ¥..½ÇÁ¦ Ãâ·ÂÀº 01-12- 01
ÀÌ°Ô 1¿ù 12ÀÏ 01³â À̶ó´Â °ÇÁö..
¾Æ´Ô...01³â 12ÀÏ 1¿ùÀ̶ó´Â°ÇÁö..¿µ ¾Ö¸Å...

¾²´Ùº¸´Ï °Ì³ª ±æ¾îÁ³³×... Àß ¸ð¸£½Ã°ÚÀ¸¸é ÀÌ¸á ´Ù½Ã º¸³»ÁÖ¼¼¿ä...
2001-01-12 00:00:00
Àá½Å
Âù¼º 40
¹Ý´ë 40
ÇÁ·Î±×·¥ÀÇ ¿À·ù°¡ ÀÖ¾ú½À´Ï´Ù.
»õ·Î ¾÷·Îµå¸¦ Çسõ¾ÒÀ¸´Ï »ç¿ëÇÏ½Ã¸é µË´Ï´Ù. ^^
2001-01-11 00:00:00
ÇØÇÇCGI
Âù¼º 44
¹Ý´ë 45
»çÀ̵弼ºì Ä«¿îÅͺ¸´Ù ¼³Ä¡°¡
³Ê¹« ¾î·Á¿ö¿ä..¼³¸íµµ ¿¡¸Þ¸ðÈ£ÇÏ°í °£´ÜÇÏ°Ô ¼³¸íÀ̾ȵdzª¿ä??
°£´ÜÇÑ°É Á¤¸» ¾î·Æ°Ôµµ ¾²¼Ì½À´Ï´Ù..
2001-01-09 00:00:00
¿ÜÀ̸® ¼³¸íÀÌ ¾î·ÆÁö???
Âù¼º 41
¹Ý´ë 42
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 22602458 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.