WGservice.com ˹ҡдҹѡ »

駡з   ͺз
โปรแกรม cgi:irc ทำไงอะคับ
١з͹ :: ١зѴ  

ͺͺ: . . 13, 2006 12:25 pm    ͡з: โปรแกรม cgi:irc ทำไงอะคับ ͺзͧ¤Ӿٴ(quote)

ทำไงอะคับเหมือนห้อง chat ผ่านเว็บ http://www.sloventhai.com/chat.html อะ

: 01 . 2006
ͺ: 84
: Phuket

ͺͺ: . . 13, 2006 3:52 pm    ͡з: Re: โปรแกรม cgi:irc ทำไงอะคั ͺзͧ¤Ӿٴ(quote)

ต้น ѹ֡:
ทำไงอะคับเหมือนห้อง chat ผ่านเว็บ http://www.sloventhai.com/chat.html อะ

ก็หาตัว cgi:irc ที่จะใช้มา แล้วก็แก้ไขข้อมูลในไฟล์ cgiirc.config แล้วก็อัพไปที่ host ที่อนุญาติให้รัน cgi ซึ่งถ้าอนุญาติให้รัน ก็จะมี dir cgi-bin เราก็อัพไฟล์ที่โหลดมาและที่เราแก้ไปไว้ใน dir นั้นทั้งหมด ส่วนของเวป sloventhai ที่ก๊อบมาก็ทำ form ใน dream เอาแล้วก็ใส่ไฟล์ irc.cgi ไปแค่นั้นเป็นเสร็จ
ʴǹǢͧҪԡ 觢ǹ Ҫ䫵 MSN

ͺͺ: . . 14, 2006 7:52 am    ͡з: อะท่าน ͺзͧ¤Ӿٴ(quote)

# This is the full access CGI:IRC 0.5 config file
# It will allow access to *all* servers and channels
# See http://cgiirc.sourceforge.net/docs/config.php for help editing it.

# -----
# These are the default settings to show on the login form

# default server(s) to connect to, more than one server can
# be entered as a comma seperated list
default_server = irc.thaishadow.com
default_port = 6667

# default channel(s), again this can be a comma seperated list
default_channel = #thaishadow

# Realname to use (in /whois)
default_name = Lao_For_laos

# default nickname, a ? is replaced with a random number
default_nick = LFLTAT???

# The default username to send, this will only be sent if
# encoded_ip (below) is set to 1 or less and will have no affect
# if the system is running identd.
default_user = cgiirc

# Default quit message
#quit_message = CGI:IRC
# Quit prefix added to EOF messages and other quits not from /quit
#quit_prefix = CGI:IRC

# -----
# System setup options

# You can change the default locations of the scripts with these
# settings, generally they don't need to be changed
script_nph = nph-irc.cgi
script_form = client-perl.cgi
script_login = irc.cgi

# The path to images for the browser (a URL!)
# In script aliased directories (cgi-bin) the default will *not* work,
# you need to move the directory elsewhere and change this to something
# like /images.
image_path = images

# The charset to send to IRC, to send anything other than UTF-8 you will
# need the Encode perl module installed.
# See perldoc Encode::Supported for a list of supported encodings.
# If you see the wrong characters in CGI:IRC or with a normal IRC client
# you probably need to change this or set it on the login form.
# Extended ASCII:
#irc charset = iso-8859-1

# The location to *append* before the location of the socket directory
# (don't change this unless you understand it - and then think about it again).
# Remember you will need to either edit client-perl.cgi or
# client.c and recompile client.cgi if you change this

socket_prefix = /tmp/cgiirc-

# Virtual Host - Bind to a specific IP address
# (this must be a valid interface or IP alias on your system).
#vhost =
# For IPv6
#vhost6 =

# Prefer IPv6 addresses if both addresses resolve (default is IPv4).
#prefer_v6 = 0 (XXX: This option does not currently work)

# -----
# Access related settings

# encoded_ip, set to 3 to send real IP in realname and encoded in username
# set to 2 to send hex encoded IP address in username 
# and in realname, set to 1 to send only in realname and 0 to
# disable.
encoded_ip = 2

# If the ip_access_file option is set to the filename that
# contains ipaccess information then CGI:IRC will check this file.
# See ipaccess.example for more information, rename it to ipaccess
# and uncomment the line below to enable.
# NOTE: If the file does not exist, all clients are denied!
#ip_access_file = ipaccess
# If the ip_access_file option is set to a comma-separated list
# of filenames, they are checked sequentially, as if they were
# concatenated.
#ip_access_file = ipaccess.deny,ipaccess.allow

# The maximum number of users that can connect to this CGI:IRC script at once
# Please note, sometimes CGI:IRC leaves files in the socket_prefix location, if
# it is killed (kill -9) or maybe a bug - this option still counts those as users.
#max_users = 20

# Allow access to servers, ports and channels not set in the default
# settings above and use access_channel, access_port and access_server below.
allow_non_default = 1

# This is regular experssion that sets what channels access should
# be allowed to.
access_channel = .*

# This is regular experssion that sets what servers access should
# be allowed to.
access_server = .*

# This is regular experssion that sets what ports access should
# be allowed to.
access_port = .*

# A list of commands to allow and deny access to, this is a space
# seperated list of commands to allow access to or if prefixed
# with an ! commands to disallow access to.
# Eg to only allow access to, msg, me, whois, join, nick
#   = msg me whois join nick !
# Note the ! on the end, it disallows all other commands

# It is recommened that you disable quote if you are limiting
# access to channels.
#access_command = !quote
access_command =

# Session timeout (timeout after this many seconds of inactivity).
# 18000 is 5 hours
session_timeout = 18000

# Admin password (used for /ctcp kill)
# Remember this is a crypt of the password - not the actual password.
# You can generate this by running (at a Unix shell prompt):
# perl -le'print crypt(shift,$$)' password
# where password is the password to generate a crypt for.
#admin password =

# If your server is password protected and you wish to provide the password in
# the script rather than get the user to enter the password then set this
# option to the password (The user can still override this with a password on
# the login form).
#server_password =

# Send extra information (e.g. proxy headers) on ctcp USERINFO.
#extra_userinfo = 1

# If the irc server you are connecting to accepts hostnames encoded into passwords
# (CGI:IRC host spoofing) and it has been setup for your host uncomment the following
# line.
#realhost_as_password = 1

# Check clients connecting against a DNSBL (deny access if their IP address is in
# it), seperate with spaces to check more than one.
#dnsbl = opm.blitzed.org

# Redirect to a different URL (eg. custom login form) instead of the default.
#form_redirect = http://cgiirc.sourceforge.net/docs/custom.php

# -----
# Appearence settings

# The options to show on the basic and advanced login forms.
# Simply a space seperated list of the fields to display.
#login basic = Nickname, Channel
#login advanced = Nickname, Realname, Channel, Server, Password, Format, Character set

# The default format to use
format = default

# These options control where output goes. Parameters are comma seperated
# and are the types (e.g. the names used in the format files), only the
# first two words are matched.

# Do not output joins, parts or quits.
#output none = join, part, quit
# Hide a lot of information that is shown at connect time
#output none = raw 439, reply welcome, reply yourhost, reply created, reply myinfo, reply protoctl, raw 251, raw 252, raw 254, raw 255, raw 265, raw 266, looking up, connecting, reply motd start, reply motd end, reply names

# Show whois in the active window
#output active = reply whois

# Show the names output in the Status window
#output status = reply names

# Perform these commands (seperated with) ; on connect.
#perform =

# Remove almost all colour from the output
#removecolor = 0

# By default CGI:IRC shorterns the text inside links to 120 characters to work
# around browser bugs. This changes the length text is shortened to
#linkshorten = 120

# If set this disables the input of %C, %B, etc so that the user
# cannot enter colours, etc
#disable_format_input = 1

# ----
# Interface settings
# These control the options for the user - the user can change these via the
# options dialog.
# Uncommenting the options below will change from the default value.

# Enable Timestamps for all text
#interface timestamp = 1
# Convert :-) and so on into smilie images
#interface smilies = 1
# Default font to use
#interface font = monospace
# Show users nickname next to text entry area
#interface shownick = 1
# Show long scrollback (uses more memory)
#interface scrollback = 1
# Enable activity sounds by default
#interface actsound = 1
# Enable join sounds by default
#interface joinsound = 1


: 01 . 2006
ͺ: 84
: Phuket

ͺͺ: . . 14, 2006 8:14 am    ͡з: ͺзͧ¤Ӿٴ(quote)

ก๊อบมาแระจะถามว่าอารายคับ ก็แก้อย่างข้อมูลที่เห็นนั้นแระ เปลี่ยน ชื่อ server ห้อง เป็นของเราก็เสร็จแระ
ʴǹǢͧҪԡ 觢ǹ Ҫ䫵 MSN

ͺͺ: . . 22, 2006 7:51 pm    ͡з: ͺзͧ¤Ӿٴ(quote)

อีกอย่างผม เข้าไปที่ตัว คอนโทลเพเนลแล้วผมรันไม่เป็นอะ-*- งงเลย

: 01 . 2006
ͺ: 84
: Phuket

ͺͺ: . . 23, 2006 7:27 am    ͡з: ͺзͧ¤Ӿٴ(quote)

ผมทำให้เรียบร้อยหมดแระ คุณก็แค่เอาไฟล์ .zip ที่ผมส่งให้ไปแตกไฟล์ แล้วอัพ folder ที่แตกได้ขึ้นไปใน host ของคุณใน folder cgi-bin แล้วก็เอา code ในหน้า chatroom.html ที่ผมส่งให้ไปใช้ได้เลย
ʴǹǢͧҪԡ 觢ǹ Ҫ䫵 MSN
駡з   ͺз    WGservice.com ˹ҡдҹѡ » Ѻ GMT
˹ 1 ҡ 1

س ö 駡з㹡дҹ
س ö ͺз㹡дҹ
س ö 䢡õͺзͧس㹡дҹ
س ö źõͺзͧس㹡дҹ
س ö ŧṹẺǨ㹡дҹ
س ö Ṻ㹡дҹǹ
س ö ǹŴ㹡дҹǹ

Ѻ䫵   |   Թҹ   |   ҧҹҹ   |   ҹ part time   |   24payturn   |   ҧҹ
Powered by phpBB 2.0.11 © 2006