####################################
#程式修改:一山草堂CGI工作室
#http://wwwbug.126.com
#一山交友CGI加强版
####################################
加强版新增: 集体和个人信息web发送功能!!!!
版主密码默认为:123123
请把*.cgi文件上传到/cgi-bin目录,其他文件上传到/friend目录
运行交友程序请执行/cgi-bin/frieng.cgi文件(不能直接运行*.htm文件)
说明:
1.集体信息发送和email列表用户在线"注册\删除" 入口均在"版主管理"
注意: 用户登陆时其email会自动登陆email列表.(不需手工加入)
2.修改 mail.cgi(发个人邮件); jymaillist.cgi(集体邮件的发送和用户删除)的
参数设置!
3.修改friend.cgi
将第一行#!/usr/bin/perl修改为"Server上Perl的目录",注意#和!不能去掉喔.
$filehead = "../friend/";
# DBM,TXT档案的绝对位置目录部份
$userfile = "user";
# 主档案,为DBM格式,不可加副档名
$userclickfile = "userclick";
# click次数档案,为DBM格式,不可加副档名
$usertypefile = "usertype.txt";
# 性别档
$userareafile = "userarea.txt";
# 居住地档
$userwayfile = "userway.txt";
# 交友方式档
$mainpagefile = "main.htm";
# 主要画面
$addpagefile = "add.htm";
# 登记资料画面
$clickpagefile = "click.htm";
# 查询资料画面
$managepagefile = "manage.htm";
# 管理模式入口画面
$succpagefile = "succ.htm";
# 成功画面
$errorpagefile = "error.htm";
# 错误画面
$allow_noname = 0;
# 1=允许不填姓名 0=不允许
$allow_notype = 0;
# 1=允许不填性别 0=不允许
$allow_noemail = 0;
# 1=允许不填信箱 0=不允许
$allow_nourl = 1;
# 1=允许不填首页 0=不允许
$allow_noage = 0;
# 1=允许不填年龄 0=不允许
$allow_nojob = 1;
# 1=允许不填职业 0=不允许
$allow_noarea = 1;
# 1=允许不填居住地 0=不允许
$allow_noinfo = 0;
# 1=允许不填自我介绍 0=不允许
$allow_noway = 1;
# 1=允许不填交友方式 0=不允许
$allow_html = 1;
# 1=允许使用html语法 0=no
$perpage = 10;
# 每页资料笔数
$manageperpage = 100;
# 管制模式时每页资料笔数
$time_miss = +13;
# Server时区调整
$manage{"super"}="123456";
# 版主的ID,Password
$masteremail = "thankshei\@hotmail.com";
# 版主信箱
$mailprg = "/usr/sbin/sendmail -t";
# Server上送信软体
$fromemail = "thankshei\@hotmail.com";
# 送信退回信箱
$sendtomaster = 1;
# 1=启动当新资料登录时自动寄E-mail给版主的功能 0=不启动
3.修改 mail.cgi(发个人邮件); jymaillist.cgi(集体邮件的发送和用户删除)
4以ASCII型态上传*.cgi,*.htm,*.txt至Server.
5.设定权限,*.cgi chmod 755, *.htm,*.txt chmod 666
6.$filehead所指目录 chmod 777
7.执行测试.
8.完成後可更改*.htm来改变使用外观,但是
有 $ 开头的字及 <!--.....--> 的备注不可更改.
9.有问题请与我联系: wwwbug@126.com