¾È³çÇϼ¼¿ä.
ÇØÇÇCGI À¥¸¶½ºÅÍ À±¿µ¿õÀÔ´Ï´Ù.
¼¼ÆÈ´ÔÀÇ »çÀÌÆ®¿¡¼ ¹ßÃéÇÑ ±ÛÀÔ´Ï´Ù
¼¼ÆȺ¸µå 4.5V¿¡¼ ¼³¸íÀÔ´Ï´Ù.
ÀÌ ½Ã°£¹®Á¦·Î ¸¹Àº °íÅëÀÌ ÀÖ¾úÀ»°Å¶ó »ý°¢µË´Ï´Ù..
ÀúµÎ Áö±Ý²¯ ÀÌ ¹®Á¦·Î Áú¹®À» ¸¹ÀÌ Çß¾ú´Âµ¥ ¾Æ¹«µµ ½Å°æÀ» ¾È½áÁÖ´õ±º¿ä
½¬¸é¼ 3ÀÏÁ¤µµ °è¼Ó Å×½ºÆ® Çߴµ¥ ÀÇ¿Ü·Î ½±°Ô ÇØ°áµÆ½À´Ï´Ù
¼¼ÆȺ¸µå ³»¿ë¹° Áß¿¡¼ "board.cgi"¸¦ ¿öµåÆеå·Î ºÒ·¯¿É´Ï´Ù.
(¸Þ¸ðÀå¿¡¼ ³Ê¹« Ä¿¼ ¾È ºÒ·¯Áö°Åµç¿ä.)
1. ã±â(Ctrl+F)¸¦ ´·¯¼......"¿ù È"¸¦ ã½À´Ï´Ù.
2.
sub get_date {
@week = qw(ÀÏ ¿ù È ¼ö ¸ñ ±Ý Åä);
($sec,$min,$hour,$mday,$mon,$year,$wday) = (localtime)[0,1,2,3,4,5,6];
. .
. .
ÀÌ·±½ÄÀ¸·ç Âß~~ ³ª¿À´Âµ¥....
($sec,$min,$hour,$mday,$mon,$year,$wday) = (localtime)[0,1,2,3,4,5,6];
À̺κÐÀ»..... ÀÌ·¸°Ô °íĨ´Ï´Ù.
($sec,$min,$hour,$mday,$mon,$year,$wday) = localtime(time+¼ýÀÚ);
3. ¼ýÀÚ¶ó°í ½áÁøºÎºÐ¿¡ ½ÃÂ÷¸¸ÅÀÇ º¯µ¿Ä¡¸¦ ³Ö¾î¾ß Çϴµ¥..
½Ã°£À» ÃÊ·Î °è»êÇØ¾ß Çϱ⠶§¹®¿¡
Àúó·³ 14½Ã°£ÀÌ ´À¸®´Ù¸é
60 ¡¿ 60 ¡¿ 14 = 50400 À» ´õÇؼ ½Ã°£À» º¸Á¤ÇØ ÁÖ¸é µË´Ï´Ù.
ÀÌ·±½ÄÀ¸·Î....
($sec,$min,$hour,$mday,$mon,$year,$wday) = localtime(time+50400);
±×·³ ¸¹Àº µµ¿òÀÌ µÇ±æ ¹Ù¶ø´Ï´Ù..
|