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

´Ð³×ÀÓ

wlsl0913

À̸ÞÀÏ

wlsl0913@naver.com

Á¦¸ñ

cgi Ä«¿îÅÍ ´Þ±â Áú¹®ÀÔ´Ï´Ù~
³»¿ë

#!/usr/bin/perl
print "Content-type: text/html\n\n";
$file_name = "count.txt";
open (COUNT, $file_name);
$counter = <COUNT>;
$conter =~ s/\n//;
close (COUNT);
$counter++;
open ( COUNT, ">$file_name");
print COUNT $counter;
close (COUNT);
print "<font color=red>´ç½ÅÀº <b>$counter</b></font>¹ø° ¹æ¹®ÀÚÀÔ´Ï´Ù. ^^\n";
exit;

 

ÀÌ·± cgi¸¦ ÀÌ¿ëÇؼ­ Ä«¿îÅ͸¦ ´Þ°í ½ÍÀºµ¥ ¾î¶»°Ô ÇؾßÇϳª¿ä ?

xxx.php ·Î ¸¸µé¾î¼­ ±× ¾È¿¡ html À» »ðÀÔÇÏ´Â ¹æ½ÄÀ¸·Î ÇؾßÇÑ´Ù´Â°Ç ¾î·ÅDzÀÌ µéÀº°Å °°Àºµ¥

¾î¶»°Ô ÇؾßÇϳª¿ä ¤Ð

°í¼öºÐµéÀÇ ºü¸¥´äº¯ ºÎŹµå¸±°Ô¿ä ¤ÐÁ¤¸» Á¦¹ßµµ¿ÍÁÖ¼¼¿ä ~

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
HappyCGI 2006-12-07 19:32:47
´ä±Û

CGI ÀÔ´Ï´Ù.
cgi¸¦ ÀÌ¿ëÇؼ­ html¿¡ »ðÀÔÇϽǷÁ¸é ssi¸¦ ÀÌ¿ëÇÏ¼Å¾ß ÇÕ´Ï´Ù.
°Ô½ÃÆÇ¿¡¼­ ssi ´Ü¾î·Î °Ë»öÇغ¸½Ê½Ã¿À.

ÀÌÀü°Ô½Ã±Û ¹» °øºÎÇØ¾ß ÇÒ±î¿ä? 2006-12-05 19:43:28
´ÙÀ½°Ô½Ã±Û ¾ÆÆÄÄ¡ ÀÎÁõ±â´ÉÀ§ÇÑ ÆÄÀÏ2°³ ÀÚµ¿»ý¼º ¹æ¹ýÀÌ? 2006-12-08 17:46:03