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

´Ð³×ÀÓ

HappyCGI

À̸ÞÀÏ

hero@happycgi.com

Á¦¸ñ

[Ç÷¯±×ÀÎ] ¸ÞÀÎÆäÀÌÁö¿Í Ä«Å×°í¸® ÆäÀÌÁö ´Ù¸£°Ô º¸À̱â
³»¿ë
¾È³çÇϼ¼¿ä. ÇØÇÇ CGI À±¿µ¿õÀÔ´Ï´Ù.
«ÀÌ ¸¹ÀÌ ³ªÁú ¾Ê¾Æ ±ÛÀ» ¸¹ÀÌ ¸ø ¿Ã·Á Á˼ÛÇÕ´Ï´Ù.
¿À´ÃÀº ÇØÇÇ CGI¿¡¼­ º¸ÀÌ´Â ¸ÞÀÎ ÆäÀÌÁö¿Í Ä«Å×°í¸® ÆäÀÌÁö ´Ù¸£°Ô º¸À̱⠸ðµå¿¡ °üÇؼ­ ¿Ã¸³´Ï´Ù.
ÀϹÝÀûÀ¸·Î ¾ßÈÄ¿Í °°Àº ¸ÞÀÎ ÆäÀÌÁö¿¡´Â ¼ýÀÚ Ç¥±â°¡ ¾øÀ¸¸ç Ä«Å×°í¸®·Î µé¾î°¡¾ß ¼ýÀÚ Ç¥±â°¡ ÀÖÁÒ?
±×·¸°Ô ¸¸µé¾î º¼±î¿ä? ^^
¾ÆÁÖ °£´ÜÇÕ´Ï´Ù.
¿ì¼±site_html_templates.pl ÆÄÀÏÀ» ¿­¾îº¾´Ï´Ù.
Çϴܺκп¡ ¾Æ·¡¿Í °°Àº ¼­ºê ·çƾÀÌ ÀÖÁÒ?
sub site_html_print_cat
ÀÌ ¼­ºê ·çƾÀ» ÀüºÎ º¹»çÇÏ¿© sub site_html_print_cat ¼­ºê·çƾ ¹Ù·Î ¾Æ·¡¿¡ ºÙÀÌ°í
»õ·Î ºÙ¿©Áø ¼­ºê·çƾÀÇ À̸§Àº sub site_html_print_cat2 ¶ó°í °íĨ´Ï´Ù.
site_html_print_cat2 ÀÇ ¼­ºê ·çƾÀ» »ìÆ캾´Ï´Ù.
ÀÚ½ÅÀÌ º¯ÇüÀ» ¿øÇÏ´Â °÷À» ã¾Æ ¼öÁ¤À» ÇÕ´Ï´Ù.
¸¸¾à ¸ÞÀÎ ÆäÀÌÁö¿¡¼­´Â ÇϺÎÄ«Å×°í¸®ÀÇ ¼ýÀÚ¸¦ º¸ÀÌÁö ¾Ê°í ½Í°í Ä«Å×°í¸®¿¡ µé¾î°¬À»¶§¸¸ º¸¿©ÁÖ°í ½Í´Ù°í ÇÒ¶§´Â
site_html_print_cat2ÀÇ ¼­ºê ·çƾ¿¡¼­ $numlinks ¸¦ ã½À´Ï´Ù.
Áö¿ö¹ö¸°ÈÄ ÀúÀåÀ» ÇÕ´Ï´Ù.

´ÙÀ½ nph-build.cgi¸¦ ¿­¾îº¾´Ï´Ù.
sub build_all À̶õ ¼­ºê ·çƾÀ» ã¾Æ º¾´Ï´Ù.
# Create Home Page
    $use_html ?
        print qq&pip;Building $build_root_url/$build_index . . .
&pip; :
        print qq&pip;Building Home Page . . .
&pip;;
    &build_home_page;
    print " Done

";
¾Æ·¡¿Í °°Àº ºÎºÐÀÌ ÀÖÁÒ?
¾ø´Ù¸é Ãß°¡¸¦ ÇØÁÝ´Ï´Ù. (º¸ÅëÀº ±âº»À¸·Î ÀÖ½À´Ï´Ù.)
sub build_home_page  ¼­ºê·çƾÀ» ã½À´Ï´Ù.
$category  = &site_html_print_cat (@rootcat) if ($#rootcat >= 0);
´ë½Å
$category  = &site_html_print_cat2 (@rootcat) if ($#rootcat >= 0);
À¸·Î ¹Ù²Ù¾î ¾¹´Ï´Ù.
»çÀÌÆ® ¸¸µé±â¸¦ ÇÏ¸é ¸ÞÀÎ ÆäÀÌÁö¿Í Ä«Å×°í¸® ÆäÀÌÁöÀÇ ¸ð¾çÀÌ ´Þ¶óÁý´Ï´Ù.
Áï site_html_print_cat2 ¼­ºê·çƾÀÇ ¸ð¾çÀº ¸ÞÀÎÆäÀÌÁö¸¦ µû¸£°í site_html_print_catÀº
Ä«Å×°í¸®ÀÇ ¸ð¾çÀ» µû¸¨´Ï´Ù.
ÀÌ»Ú°Ô ¸¸µé¾îº¸½Ã±æ ...

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û ÇѱÛÆÇ ¸µ½º 2.0 - ¿À´Ã »çÀÌÆ® µî·Ï½Ã ³¯Â¥ µ¥ÀÌŸ ¿À·ù¹ß»ý½Ã. 1999-10-10 10:46:55
´ÙÀ½°Ô½Ã±Û [Ç÷¯±×ÀÎ] ÇØÇÇCGI »çÀÌÆ®¸Ê ¸¸µé¾îº¸±â 1999-10-11 19:26:38