chenstor / jizhang Goto Github PK
View Code? Open in Web Editor NEWPHP+MYSQL多用户记账程序
PHP+MYSQL多用户记账程序
system.php?action=user
这个页面添加用户的时候表单都填写了 但是返回了参数不完整
修改用户信息的时候同样如此
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
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
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)
登陆之后提示登陆成功并跳转,随后提示无权访问并重新跳转回登陆界面
我在本地运行的,发现合计这里有点问题。于是发现了如下代码报错。
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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0011 | 421184 | {main}( ) | .../stat.php:0 |
2 | 0.0063 | 733024 | state_day( ) | .../stat.php:33 |
3 | 0.0065 | 733368 | mysqli_fetch_array ( ) | .../content.php(1) : eval()'d code(1) : eval()'d code:16 |
( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0011 | 421184 | {main}( ) | .../stat.php:0 |
2 | 0.0075 | 733096 | state_day( ) | .../stat.php:33 |
3 | 0.0077 | 733368 | mysqli_fetch_array ( ) | .../content.php(1) : eval()'d code(1) : eval()'d code:16 |
( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0011 | 421184 | {main}( ) | .../stat.php:0 |
2 | 0.0083 | 732840 | state_day( ) | .../stat.php:34 |
3 | 0.0084 | 733112 | mysqli_fetch_array ( ) | .../content.php(1) : eval()'d code(1) : eval()'d code:16 |
( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0011 | 421184 | {main}( ) | .../stat.php:0 |
2 | 0.0090 | 732840 | state_day( ) | .../stat.php:35 |
3 | 0.0091 | 733112 | mysqli_fetch_array ( ) | .../content.php(1) : eval()'d code(1) : eval()'d code:16 |
( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0011 | 421184 | {main}( ) | .../stat.php:0 |
2 | 0.0096 | 732840 | state_day( ) | .../stat.php:36 |
3 | 0.0097 | 733112 | mysqli_fetch_array ( ) | .../content.php(1) : eval()'d code(1) : eval()'d code:16 |
( ! ) 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 |
---|
比较简洁, 首页加个图表统计就更直观一些了
你好,刚刚在本地搭建测试环境时,遇到无法添加账户的情况,提示“缺少参数!”三个填白,已经填完,还是有这种问题,麻烦排查一下
今天偶然间发现分页消失了 按照备注搜索也没了 哈哈 要不还是加上备注搜索吧 表示很实用啊
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
如果有APP,能在外出,手机没有网络的情况下先把数据记录在本地,然后有网络就自动上传到同步到服务器就好了。。。
如题,在IIS+PHP7.4下安装,提示PHP Deprecated: Function get_magic_quotes_gpc() is deprecated。
请问如何解决呢?
推荐jQuery js
thinkPHP在Nginx下会显示404
安装环境:群晖
apache2+php5.6+mariadb10
1、访问地址INSTALL,按要求修改支持条件,完成。
2、连接数据库,LOCALHOST居然不行,最后改成127.0.0.1连接成功
3、提示安装完成,进入系统登录页面,输入设置好的用户名和密码,点登录无响应。
4、随意输入用户名,提示帐户密码错误。
目前安装完成,但登录不了,浏览器CHROME
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.