GithubHelp home page GithubHelp logo

jizhang's Introduction

特别说明

  1. 本版本为本地测试版,仅限localhost,127,test.com等域名使用,功能不限制
  2. 需要使用其他域名的,要授权

版本区分

  1. 本版本为PHP+MYSQL版本
  2. PHP+SQLite版本见:https://github.com/chenstor/jizhangSqlite

程序名称

PHP+MYSQL多用户记账程序

安装说明

  1. 将程序放到指定目录,可以根目录,可以二级目录
  2. 运行/install/,或者直接输入域名都可以自动判断,未安装的会进入安装界面
  3. 一路next(什么协议那些没有弄)
  4. 输入数据库地址、端口、数据库名、账号、密码等参数(安装测试数据的功能屏蔽掉)
  5. 网站名称就是安装之后的系统名称,可以在安装之后在data/config.php 里面修改,其他内容不建议修改
  6. 注意,默认会记录安装时的域名,这个域名唯一的用处就是找回密码的邮件,如果安装之后没有换过域名,不用理会,否则需要在data/config.php 里面修改
  7. 找回密码是通过发邮件找回,需要配置SMTP,配置见:inc/smtp_config.php(包括找回密码的邮件模板,也是在这个文件修改)
  8. 其他文件,不建议修改,除非你看得懂

功能介绍

  1. 使用Ajax请求,JSON返回数据,统一格式化数据。
  2. 使用Bootstrap进行页面布局的控制。
  3. 所有菜单、按钮进行按角色组进行分配权限(系统管理功能除外)。
  4. 使用百度echarts进行统计结果的展示。
  5. 支持自动计算账户余额(记账时会自动关联到账户进行余额的修改)。
  6. 支持SMTP找回密码,邮件接受后进行重置密码。
  7. 支持后台添加用户,对用户进行角色组的分配。
  8. 支持用户区分管理员或普通用户,管理员具备管理权限。
  9. 支持后台对用户进行密码重置(使用随机8位密码的形式)。

jizhang's People

Contributors

chenstor avatar hujinhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jizhang's Issues

本地安装碰到的几个问题反馈,无法登录系统

安装环境:群晖
apache2+php5.6+mariadb10
1、访问地址INSTALL,按要求修改支持条件,完成。
2、连接数据库,LOCALHOST居然不行,最后改成127.0.0.1连接成功
3、提示安装完成,进入系统登录页面,输入设置好的用户名和密码,点登录无响应。
4、随意输入用户名,提示帐户密码错误。
目前安装完成,但登录不了,浏览器CHROME

Trying to get in touch regarding a security issue

Hey there!

I'd like to report a security issue but cannot find contact instructions on your repository.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

登陆问题

登陆之后提示登陆成功并跳转,随后提示无权访问并重新跳转回登陆界面

openssh() function check failed

Hi,

I encountered openssh() function check failed. But when I changed it as 'openssl_decrypt', then everything is OK.

Maybe it related to openssl or php version?

$ openssl version
OpenSSL 1.0.2k-fips 26 Jan 2017
$ php --version
PHP 5.4.16 (cli) (built: Jun 19 2018 13:09:01)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

There's no email check when register

Hi,

I found an issue when admin first registered. When I input my email which is longer than 20 varchar, the page informed me that I registered successfully. But actually it failed. Because my email is longer than 20. So I think it need enhancement here: Enlarge the email length in db or tell the user that database updated with failure. Thanks.

CREATE TABLE IF NOT EXISTS #__user (
uid int(5) NOT NULL AUTO_INCREMENT COMMENT 'ID',
username varchar(15) NOT NULL COMMENT '用户名',
password varchar(35) NOT NULL COMMENT '密码',
email varchar(20) NOT NULL COMMENT '邮箱',
Isallow smallint(2) NOT NULL DEFAULT '0' COMMENT '是否禁止登录, 0正常 1禁止',
Isadmin smallint(2) DEFAULT '0' COMMENT '是否管理员 0不是 1是',
addtime int(11) NOT NULL COMMENT '注册时间',
utime int(11) NOT NULL COMMENT '更新时间',
salt varchar(35) NOT NULL COMMENT '盐密码',
PRIMARY KEY (uid)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户表';

BR,
Shane Wang

PHP7.4下一点小问题

如题,在IIS+PHP7.4下安装,提示PHP Deprecated: Function get_magic_quotes_gpc() is deprecated。
请问如何解决呢?

bug-list-new-2020-4-24

system.php?action=user
这个页面添加用户的时候表单都填写了 但是返回了参数不完整
修改用户信息的时候同样如此

新注册用户后add.php报错

Notice: Undefined variable: menulist_f_0 in /Users/zhangjiajun/Desktop/php/jizhang-master-3.0/inc/content.php(1) : eval()'d code(1) : eval()'d code on line 391

Warning: Invalid argument supplied for foreach() in /Users/zhangjiajun/Desktop/php/jizhang-master-3.0/inc/content.php(1) : eval()'d code(1) : eval()'d code on line 391

近期统计有个bug

我在本地运行的,发现合计这里有点问题。于是发现了如下代码报错。
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in /Users/zhangjiajun/Desktop/php/jizhang-master/inc/content.php(1) : eval()'d code(1) : eval()'d code on line <i>16</i></th></tr>

$("#stat").html("2020年01月至今共收入<strong class='green'><br />

( ! ) Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in /Users/zhangjiajun/Desktop/php/jizhang-master/inc/content.php(1) : eval()'d code(1) : eval()'d code on line 16
Call Stack
#TimeMemoryFunctionLocation
10.0011421184{main}( ).../stat.php:0
20.0063733024state_day( ).../stat.php:33
30.0065733368mysqli_fetch_array ( ).../content.php(1) : eval()'d code(1) : eval()'d code:16
0.00,共支出
( ! ) Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in /Users/zhangjiajun/Desktop/php/jizhang-master/inc/content.php(1) : eval()'d code(1) : eval()'d code on line 16
Call Stack
#TimeMemoryFunctionLocation
10.0011421184{main}( ).../stat.php:0
20.0075733096state_day( ).../stat.php:33
30.0077733368mysqli_fetch_array ( ).../content.php(1) : eval()'d code(1) : eval()'d code:16
0.00
"); $("#pay_day").text("
( ! ) Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in /Users/zhangjiajun/Desktop/php/jizhang-master/inc/content.php(1) : eval()'d code(1) : eval()'d code on line 16
Call Stack
#TimeMemoryFunctionLocation
10.0011421184{main}( ).../stat.php:0
20.0083732840state_day( ).../stat.php:34
30.0084733112mysqli_fetch_array ( ).../content.php(1) : eval()'d code(1) : eval()'d code:16
0.00"); $("#pay_week").text("
( ! ) Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in /Users/zhangjiajun/Desktop/php/jizhang-master/inc/content.php(1) : eval()'d code(1) : eval()'d code on line 16
Call Stack
#TimeMemoryFunctionLocation
10.0011421184{main}( ).../stat.php:0
20.0090732840state_day( ).../stat.php:35
30.0091733112mysqli_fetch_array ( ).../content.php(1) : eval()'d code(1) : eval()'d code:16
0.00"); $("#pay_month").text("
( ! ) Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in /Users/zhangjiajun/Desktop/php/jizhang-master/inc/content.php(1) : eval()'d code(1) : eval()'d code on line 16
Call Stack
#TimeMemoryFunctionLocation
10.0011421184{main}( ).../stat.php:0
20.0096732840state_day( ).../stat.php:36
30.0097733112mysqli_fetch_array ( ).../content.php(1) : eval()'d code(1) : eval()'d code:16
0.00"); $("#pay_year").text("
( ! ) Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in /Users/zhangjiajun/Desktop/php/jizhang-master/inc/content.php(1) : eval()'d code(1) : eval()'d code on line 16

批量记账不可用

QQ图片20190725155356
反馈问题,批量记账正常记账,成功一直为0条。
PHP版本7.3.4,5.4版本也试过一样结果。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.