博主

一天前在线

小野博客
小野(Hirono)博客的个人网站,主要讲述关于小野的一些陈芝麻烂谷子事。网络、生活、我的主张,也是一个自留地
歌曲封面 未知作品
  • 歌曲封面Algaxhi har阿来
  • 歌曲封面野人孟维来

网站已运行 2 年 105 天 4 小时 52 分

Powered by Typecho & Sunny

4 online · 45 ms

网站背景图
小野博客 小野(Hirono)博客的个人网站,主要讲述关于小野的一些陈芝麻烂谷子事。网络、生活、我的主张,也是一个自留地
Title

【游侠系列】--游侠米表系统带后台开源

小野

·

📟前端日记

·

Article
⚠️ 本文最后更新于2025年03月23日,已经过了113天没有更新,若内容或图片失效,请留言反馈

一、系统简介

米表后台管理系统是一个用于管理域名信息的工具,支持域名添加、编辑、删除、置顶、统计等功能。用户可以通过后台管理系统高效管理域名数据。


二、系统功能

  1. 域名管理
    • 添加域名:支持单个域名添加和批量导入。
    • 编辑域名:修改域名信息,如注册时间、到期时间、报价等。
    • 删除域名:移除不需要的域名记录。
    • 置顶域名:将重要域名置顶显示。
  2. 域名统计
    • 查看域名总数、已售域名数量、置顶域名数量等。
  3. 友情链接管理
    • 添加、编辑、删除友情链接。
  4. 系统设置
    • 自定义网站 Logo、联系方式等信息。
    • 修改管理员密码。

程序安装教程

​一、准备工作

​服务器环境:

  • PHP 8.0 或更高版本。
  • MySQL 5.6 或更高版本。
  • Web 服务器(如 Apache、Nginx)。

​下载程序:

  • 从您的代码仓库或网站下载程序压缩包。

​解压程序:

  • 将压缩包解压到 Web 服务器的根目录或子目录中。

以下是一个简单的 ​安装教程,帮助用户快速部署和配置您的程序。

二、配置数据库

​1.修改配置文件:

  • 打开 config.php 文件,修改数据库连接信息:
♾️ php 代码:
// 数据库连接配置
define('DB_HOST', 'localhost'); // 数据库主机
define('DB_USER', 'root');      // 数据库用户名
define('DB_PASS', 'password'); // 数据库密码
define('DB_NAME', 'myapp');    // 数据库名称

​2.创建数据库(已经创建了的可以忽略这步,直接看3):

  • 登录 MySQL,创建一个新的数据库:
♾️ sql 代码:
CREATE DATABASE myapp;

3.​导入 SQL 文件:
使用 phpMyAdmin 或其他 MySQL 工具,导入 sql 文件夹中的 sql.sql 文件。
导入步骤:

  • 登录 phpMyAdmin。
  • 选择刚创建的数据库(如 myapp)。
  • 点击 ​导入,选择 sql.sql 文件,然后点击 ​执行。

三、访问网站

​访问前台:
打开浏览器,输入您的域名(如 http://example.com)即可访问网站。
​访问后台:

后台地址:http://example.com/admin/login.php
默认账号:admin
默认密码:admin123


四、常见问题

1. 登录失败

• 检查用户名和密码是否正确。
• 如果忘记密码,安装下面教程重置密码。

用 password_hash() 加密密码

新建一个php页面。将下面代码复制粘贴,然后进行访问该页面。

♾️ php 代码:
<?php
$password = password_hash('admin123', PASSWORD_DEFAULT);
echo $password; // 将输出加密后的密码
?>

将生成的加密密码插入到数据库中:

♾️ sql 代码:
INSERT INTO admins (username, password) VALUES ('admin', '粘贴刚刚生成的加密密码');

功能展示

1.png07.png8.png17.png245.png331.png3236.png071750.png

注意:安装此程序的时候,如果使用的是二级目录,请自行修改css,js路径。避免网站样式丢失

下载地址

github:github仓库


现在已有 305 次阅读,10 条评论,6 人点赞
Comment:共10条
发表
  1. 头像
    @
    凤凰
    哟,这个我很中意!!!可以二开吗?
    · Android · Chrome · 中国广播电视网络有限公司

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  2. 头像
    @
    Luke
    已成功在FreeBSD系统下部署!感谢作者!😊
    · Windows · Chrome · 中国湖北省电信

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  3. 头像
    @
    Thanks for your personal marvelous posting!
    I really enjoyed reading it, you're a great author. I will ensure
    that I bookmark your blog and may come back someday. I want to
    encourage you to continue your great job, have a nice day!
    · MacOS · Safari · 新加坡

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  4. 头像
    @
    My developer is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the costs. But he's tryiong
    none the less. I've been using WordPress on a variety
    of websites for about a year and am worried about switching to another platform.
    I have heard very good things about blogengine.net. Is there a way I can import all my wordpress content into it?Any kind of help would be greatly appreciated!
    · Linux · Chrome · 新加坡

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  5. 头像
    @
    Hi! This is my first visit to your blog! We are
    a team of volunteers and starting a new project in a community in the same niche.
    Your blog provided us beneficial information to work on. You have done a extraordinary job!
    · Linux · Chrome · 新加坡

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
    1. 头像
      @
      Thanks
      · Android · Chrome · 中国广播电视网络有限公司

      👍

      💖

      💯

      💦

      😄

      🪙

      👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  6. 头像
    @
    Admiring the persistence you put into your site and detailed information you present.
    It's awesome to come across a blog every once in a while that isn't the same old rehashed
    information. Excellent read! I've saved your site and I'm
    adding your RSS feeds to my Google account.
    · Windows · Chrome · 新加坡

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  7. 头像
    @
    Good day I am so delighted I found your blog page, I really found you by error, while I was
    browsing on Digg for something else, Regardless I am here now and
    would just like to say thank you for a fantastic post and a all round interesting blog (I also
    love the theme/design), I don't have time to read through it
    all at the minute but I have book-marked it and also added
    your RSS feeds, so when I have time I will be back to read more, Please do keep up the excellent work.
    · Linux · 火狐浏览器 · 新加坡

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  8. 头像
    @
    Hiya! I know this is kinda off topic nevertheless I'd figured I'd ask.
    Would you be interested in trading links or maybe guest writing a
    blog article or vice-versa? My blog goes over a
    lot of the same topics as yours and I feel we could
    greatly benefit from each other. If you might be interested feel free to send me an email.
    I look forward to hearing from you! Superb blog by the way!
    · Windows · Chrome · 新加坡

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  9. 头像
    @
    It's actually a great and helpful piece of information. I am glad that you shared this useful info with us.
    Please keep us informed like this. Thanks for sharing.
    · Windows · Edge · 新加坡

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
搜 索 消 息 足 迹
你还不曾留言过..
你还不曾留下足迹..
博主 网站设置有【CDN】缓存,留言等评论内容需要12小时才能显示! 不再显示
博主
博主 立即安装