Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬您好!目前我使用的是php,但是输入密码后点击登录并没有反应 #30

Open
Snwow opened this issue Jun 22, 2021 · 3 comments

Comments

@Snwow
Copy link

Snwow commented Jun 22, 2021

大佬您好!目前我使用的是php,但是输入账号密码后点击登录并没有反应
之前有试过java的,也是同样的问题

@Snwow
Copy link
Author

Snwow commented Jun 22, 2021

网站是https://pay.snwow.cn

@okoklai
Copy link

okoklai commented Jan 5, 2022

PHP版本的问题。
原因:
在PHP7.4中,不再支持使用{}和方式来访问数组,所以会导致点登陆无反应。

解决方法:
两种方法二选一即可。

方法一:退回PHP7.3

方法二:编辑/网站目录/thinkphp/library/think/db/Query.php这个文件,在第568行
将原来的
$seq = (ord($value{0}) % $rule['num']) + 1;
改为
$seq = (ord($value[0]) % $rule['num']) + 1;
保存文件即可登陆。

@MCTGyt
Copy link

MCTGyt commented Mar 30, 2022

大佬您好,我用的是php5.6,根据您的教程改了文件还是一样,能不能教我网址是 https://vmq.mctg.ink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants