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

´Ð³×ÀÓ

Anonymous

À̸ÞÀÏ

Á¦¸ñ

[Áú¹®] ¸¸µé°í ³ª¼­..
³»¿ë
Çؼ­¿ä.
½ÇÇàÇØ º¸´Ï±î
ÆäÀÌÁö¸¦ º¸´Âµ¥ ÀÎÁõµÇÁö ¾Ê¾Ò´Ù°í ³ª¿Í¿ä..
µµÃ¼ ¾î¶»°Ô µÈ°ÅÁÒ???
Áö±Ý ¸ð¸£´Â°Å ´Ù¹°¾îº¼¶ø´Ï´Ù.
http://www.yourdomain.comÀÌ°É http://my.netian.com/~pikax
ÀÌ·¸°Ô ¹Ù²Ù¸é µÇ³ª¿ä??
pikax´Â Á¦ ¾ÆµÚÀÔ´Ï´Ù.
¶Ç Àú´Â liks.cfgÆÄÀÏ ¾Æ¹«¸® ¼öÁ¤Çصµ ¸øÇϰڳ׿ä.
Á¦°¡ ÇÑ°É º¸¿©µå¸±Å×´Ï ¼öÁ¤Çؼ­ Á» ¿Ã·ÁÁֽøé....
¹Ø¿¡°Í ±×´ë·Î Çß½À´Ï´Ù...¤Ð.¤Ð
Á¤¸» ¸¸µé°í ½ÍÀºµ¥...
Âü ¾ÈµÇ³×¿ä....
--------------------------------------------------------
#              -------------
#                  Links
#              -------------
#              Links Manager
#
#        File: links.cfg
#  Description: Contains all the setup variables.
#      Author: Alex Krohn
#        Email: alex@gossamer-threads.com
#          Web: http://www.gossamer-threads.com/
#      Version: 2.0
#
# (c) 1998 Gossamer Threads Inc.
#
# This script is not freeware! Please read the README for full details
# on registration and terms of use.
# =====================================================================

# Paths and URL s to Important Stuff
# --------------------------------------------------------
# ¿î¿µÀÚ CGI µð·ºÅ丮(admin.cgi ÆÄÀÏÀÌ ÀÖ´Â)ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù.
# °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù.
    $db_script_path  = "/cgi-bin/links/admin";
    $db_dir_url      = "http://my.netian.com/~pikax/cgi-bin/links/admin";
   
# »ç¿ëÀÚ CGI µð·ºÅ丮(add.cgi ÆÄÀÏÀÌ ÀÖ´Â)ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù.
# °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù.
    $db_cgi_url      = "http://my.netian.com/~pikax/cgi-bin/links";
   
# ¸µ½º ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮(Ȩ°ú Ä«Å×°í¸® µîÀÌ ¸¸µé¾îÁú)ÀÇ °æ·Î¿Í
# URLÀ» ¼³Á¤ÇÕ´Ï´Ù.
# °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù.
    $build_root_path  = "/pages";
    $build_root_url  = "http://my.netian.com/~pikax/pages";
   
# ÃÖ½ÅÁ¤º¸ ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù.
# °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù.
    $build_new_path  = "/cgi-bin/links/ÃÖ½ÅÁ¤º¸";
    $build_new_url    = "http://my.netian.com/~pikax/ÃÖ½ÅÁ¤º¸";

# Ãßõ»çÀÌÆ® ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù.
# °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù.
    $build_cool_path  = "/cgi-bin/links/Ãßõ»çÀÌÆ®";
    $build_cool_url  = "http://my.netian.com/~pikax/Ãßõ»çÀÌÆ®";   

# Top 10 ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù.
# °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù.
    $build_ratings_path  = "/cgi-bin/links/Ratings";
    $build_ratings_url  = "http://my.netian.com/~pikax/Ratings";

# Database Options 
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn t support it (Win95),
# then turn this off at your own risk!
    $db_use_flock        = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
    $db_nocache          = 0;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
    $db_iis              = 0;
# Field number of category in category.db
    $db_main_category    = 1;
# Referers -- which hosts are allowed to add to your database.
    @db_referers = ();

# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.

# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!

# PATH of sendmail.                # SMTP Server
    $db_mail_path    = /usr/lib/sendmail ;        $db_smtp_server  = ;
   
# Email address of the administrator. BE SURE TO SET!
    $db_admin_email  = your@domain.com ;

# Notify visitors automatically when their links are validated?
    $db_email_add    = 1;

# Notify visitors automatically when their links are modified?
    $db_email_modify  = 1;
   
# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
    $db_mailer_log    = ;   

# Build Options
# --------------------------------------------------------
# Setting for popular cutoff, can either be a percent (i.e. top 3%), or
# a fixed value (i.e. top 10). Enter 0.03 or 10 respectively.
    $db_popular_cutoff  = 0.03;  # Top 3%
# Number of days a link is considered New. 
    $db_new_cutoff      = 14;    # 14 days old.
# Return search results bolded (1 = yes, 0 = no).
    $search_bold        = 1;
# The name of an index file.
    $build_index        = "index.html";
# The extension to use for non index files:
    $build_extension    = ".html";
   
# Should your add.cgi automatically select what category the user
# is adding his link into?
    $db_single_category = 1;

# Directory Permissions. Do NOT put quotes around it. Set to 0777
# for world writeable. If you put this at 0755, you might need a
# script to remove any directories created as they will be owned
# by the web server or user nobody. Better solution might be to
# run the nph-build routine from the command shell.
    $build_dir_per      = 0777;

# The script can now break up category pages that have more then x
# number of links in it. It will also create next and previous links
# to help navigate. Set this to 1 if you want to break up pages or 0 if
# you want to have only one page per category.
# Setting this to one, will also break up the What s New pages into
# per day sections (not affected by number of links per page).
    $build_span_pages    = 1;

# Number of links per page.
    $build_links_per_page = 10;

# Detailed View: The script can build a single html page per link. This is
# great if you have a review in your database. To enable, you must set
# the directory where all the pages will be stored, the url to that directory
# and set the enable option.

# Çѱ۸µ½º »ç¿ëÀÚ´Â $build_detailedÀÇ ¼³Á¤°ªÀ» ¹Ýµå½Ã 1·Î ¼³Á¤ÇÕ´Ï´Ù.
    $build_detailed    = 1;
    $build_detail_path = "$build_root_path/Detailed";
    $build_detail_url  = "$build_root_url/Detailed";

# Use Templates: instead of editing site_html.pl, you can edit regular html pages
# encoded with special <%links_tags%>. It s not as flexible as site_html.pl, but it
# may be easier.
    $build_use_templates = 1;
       
# Site Title, the default title to use. You should really spend some time customizing
# the directory though!
    $build_site_title = ȨÆäÀÌÁö Á¦¸ñ ;

# Subcategory Length, the maximum length of the subcategories added into Links.
    $subcat_length = 40 ;
    @exclude_categories = (mysub);

# Date Routines
# --------------------------------------------------------
# Your date format can be whatever you like, as long as the following
# two functions are defined &date_to_unix and &unix_to_date:
# The default is dd-mmm-yyyy.

sub date_to_unix {
# --------------------------------------------------------
# This routine must take your date format and return the time a la UNIX time().
# Some things to be careful about..
#    timelocal does not like to be in array context, don t do my($time) = timelocal (..)
#    int your values just in case to remove spaces, etc.
#    catch the fatal error timelocal will generate if you have a bad date..
#    don t forget that the month is indexed from 0!
#
    my $date = shift; my $i;
    my %months = map { $_ => $i++ } qw!1¿ù 2¿ù 3¿ù 4¿ù 5¿ù 6¿ù 7¿ù 8¿ù 9¿ù 10¿ù 11¿ù 12¿ù!;
    my ($year, $mon, $day) = split(/-/, $date);
   
    exists $months{$mon} or return undef;
    $day = int($day); $year = $year - 1900;
   
    require Time::Local;
    my $time = 0;
    eval {
        $time = &Time::Local::timelocal(0,0,0, $day, $months{$mon}, $year);
    };
    if ($@) { die "invalid date format: $date - parsed as (day: $day, month: $months{$mon}, year: $year). Reason: $@";  }
    return $time;
}

sub unix_to_date {
# --------------------------------------------------------
# This routine must take a unix time and return your date format
# A much simpler routine, just make sure your format isn t so complex that
# you can t get it back into unix time.
#
    my $time  = shift;
    my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $tz) = localtime $time;
    my @months = qw!1¿ù 2¿ù 3¿ù 4¿ù 5¿ù 6¿ù 7¿ù 8¿ù 9¿ù 10¿ù 11¿ù 12¿ù!;
    $year      = $year + 1900;   
    return "$year³â-$months[$mon]-$dayÀÏ";
}

sub long_date {
# --------------------------------------------------------
# This routine is for printing a nicer date format on the what s new page. It should
# take in a date in your current format and return a new one.
    my $time  = shift;
    $time      = &date_to_unix ($time);
    my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $tz) = localtime $time;
    my @months = qw!1¿ù 2¿ù 3¿ù 4¿ù 5¿ù 6¿ù 7¿ù 8¿ù 9¿ù 10¿ù 11¿ù 12¿ù!;
    my @days  = qw!ÀÏ¿äÀÏ ¿ù¿äÀÏ È­¿äÀÏ ¼ö¿äÀÏ ¸ñ¿äÀÏ ±Ý¿äÀÏ Åä¿äÀÏ!;
    $year      = $year + 1900; 
    return "$year³â $months[$mon] $dayÀÏ, $days[$dweek]";


# -------------------------------------------------------------
# Extra Paths -- unless you feel the need to rename files, you
# can leave this as is.
# -------------------------------------------------------------
    $db_script_url    = $db_dir_url . "/admin.cgi";        # Admin script.
    $db_header_path    = $db_script_path . "/header";      # Place to store header and footers.
    $db_footer_path    = $db_script_path . "/footer";     
    $build_search_url  = $db_cgi_url . "/search.cgi";      # URL of search script.
    $build_add_url    = $db_cgi_url . "/add.cgi";          # URL of add script.
    $build_modify_url  = $db_cgi_url . "/modify.cgi";      # URL of modify script.
    $build_jump_url    = $db_cgi_url . "/jump.cgi";        # URL of jump script.
    $build_email_url  = $db_cgi_url . "/subscribe.cgi";    # URL of email update script.
    $build_rate_url    = $db_cgi_url . "/rate.cgi";        # URL of rate script.
    $db_mail_url      = $db_dir_url . "/nph-email.cgi";    # URL of admin mass mail script.
    $build_css_url    = $build_root_url . "/links.css";    # URL to your CSS file.
   
    $db_lib_path              = $db_script_path;                            # PATH of library files.
    $db_links_name            = "$db_script_path/data/links.db";            # PATH to links database.
    $db_category_name        = "$db_script_path/data/categories.db";      # PATH to category database.
    $db_valid_name            = "$db_script_path/data/validate.db";        # PATH to validation database.
    $db_modified_name        = "$db_script_path/data/modified.db";        # PATH to modification database.
    $db_url_name              = "$db_script_path/data/url.db";              # PATH to URL lookup database.
    $db_email_name            = "$db_script_path/data/email.db";            # PATH to email database.
    $db_links_id_file_name    = "$db_script_path/data/linksid.txt";        # PATH to links counter file.
    $db_category_id_file_name = "$db_script_path/data/categoryid.txt";      # PATH to category counter file.
    $db_hits_path            = "$db_script_path/data/hits";                # PATH to hits directory.
    $db_template_path        = "$db_script_path/templates";                # PATH to templates.
    $db_rates_path            = "$db_script_path/data/rates";              # PATH to ratings.
1;
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û °Ô½ÃÆÇ ´äº¯ ó¸®...?? 2000-08-23 16:48:22
´ÙÀ½°Ô½Ã±Û cr/lf -> cr º¯È¯ À¯Æ¿ ±¸ÇÕ´Ï´Ù. 2000-08-24 01:10:58