本帖最后由 yhthw 于 2008-12-1 22:09 编辑
2008年圣诞祝福插件,下载后把里面的信息修改成你自己的,然后在空间根目录下建立文件夹,重命名为wish或者你想要的名字,直接上传至空间你所建的文件夹里即可。
演示:http://www.yhthw.com/wish
1、如何使用邮件发送
通过PHP的Pear:Mail实现发送邮件功能,如果留言者提供了对方的邮箱地址,能发送到对方邮箱中,不过根据测试,现在的一些邮箱对HTML代码过多的邮件过滤得比较厉害,所以程序暂时只用TXT形式发送,可以改mailto.php开启。
2、关于数据库出错问题
建立数据库,修改config.php,导入wish.sql,测试...OK(也可直接导入数据库,会自动建立数据库)
PS:修改数据库config.php信息为你自己的
<?
$cfg_dbhost="你的数据库ip地址";
$cfg_dbname="你的数据库名";
$cfg_dbuser="你的数据库名";
$cfg_dbpwd="你的数据库密码";
//前缀名称
$cfg_dbprefix="";
?>
3、后台登陆
管理登录文件:login.php
使用前不要忘记修改数据库名称及 config.php文件的相应路径。
初始帐号: admin
初始密码: admin888
PS:为了防止别人恶意管理,建议修改login.php为其他,如denglu.php |