前几天在网上看到了一个不错的工具网源码,但是源码存在一些问题,遂进行了修改优化。

QQ截图20231001133837.png


主要修改内容有:

1、后台改为账号密码登录,上传即用,不需要再改源码配置。

2、删除无用的文件,减少源码包体积

3、修复了部分失效的工具,比如ICP查询等


安装方法:

1、伪静态规则使用ThinkPHP

2、运行目录(绑定目录)改成public

3、上传后直接可以使用

4、后台地址/admin,默认后台账号密码:admin/123456

演示地址:http://www.66zan.cn/

源码下载:https://wwi.lanzoub.com/iLnnt1aefbcj


欢迎留言

14 条评论

  1. IP地址归属地查询,搭建的网站网站要是套了cdn,本机ip会显示cdn的ip

    Windows 10 x64 Google Chrome 86.0.4240.198
  2. 麻烦问一下 进入后台 点击保存 页面错误 磨剑 导致无法修改任何东西!

    Windows 10 x64 Sogou Explorer
  3. Warning: require(): open_basedir restriction in effect. File(/xxx.com/thinkphp/base.php) is not within the allowed path(s): (/xxx.com/public/:/tmp/) in /xxx.com/public/index.php on line 16

    Warning: require(/xxx.com/thinkphp/base.php): failed to open stream: Operation not permitted in /xxx.com/public/index.php on line 16

    Fatal error: require(): Failed opening required '/xxx.com/public/../thinkphp/base.php' (include_path='.:') in /xxx.com/public/index.php on line 16

    环境php7.4+mysql5.7,配置伪静态为宝塔默认的ThinkPHP;访问网站报以上信息,运行目录已修改为public,权限均为755,还请帮忙看一下什么问题,感谢!

    Windows 10 x64 Google Chrome 120.0.0.0
    1. @Leibash:应该是防跨站设置的问题,宝塔有时会出现这种

      Windows 10 x64 Google Chrome 119.0.6045.160
      1. @消失的彩虹海:关闭防跨站后,网站可以正常访问了,感谢大佬!

        Windows 10 x64 Google Chrome 120.0.0.0
  4. 人民币转换和icp查询失效,能否修复下 谢谢

    Windows 10 x64 Google Chrome 119.0.6045.160
  5. 人民币转换的失效了。有没办法修复一下谢谢

    Windows 10 x64 Google Chrome 95.0.4638.69
  6. 根目录的QQWry.dat好像没什么用

    Windows 10 x64 Google Chrome 119.0.0.0
    1. @神话:是IP地址查询工具用的

      Windows 10 x64 Google Chrome 119.0.6045.9
  7. PHP版本是7.1.33,后台验证码还是无法显示:验证码地址访问  /captcha.html?r=0.9575932766191801 页面错误!请稍后再试~

    Windows 10 x64 Google Chrome 118.0.0.0
    1. @andy:应该是不支持GD类库,宝塔自带的php都是支持的

      Windows 10 x64 Google Chrome 119.0.6045.9
    1. @magic:PHP版本必须是7.1~7.4

      Windows 10 x64 Google Chrome 95.0.4638.69