我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

password_verify不在PHP的子域中工作

I have password_verify working fine on my main site. However, on my subdomain, the exact same code is causing the following error:

The subdomain.example.com page isn’t working

subdomain.example.com is currently unable to handle this request.

This is my code for verifying the password, password_verify($password, $hash).

password_verify was only introduced with PHP 5.5 - if your subdomain site is running on a lower version than that, you'll need to use a forwards-compatibility library such as https://github.com/ircmaxell/password_compat

近期文章

  • 将base64字符串解码为azure存储上的jpeg
  • 如果用户从域移出,则显示PHP页面
  • SAML(PHP)程序SSO自己使用工具包
  • 如何在数据库中插入和检索“html代码”?
  • PHP:变量名前面的&是什么意思?
  • 为什么调用__call而不是__callStatic
  • 需要回答这个问题的编辑部分
  • Laravel在单个函数中加载多个视图
  • 通过php [duplicate]在关联数组上搜索重复
  • 更新帖子时不保存Meta Box数据
  • 将数组的值与字符串PHP匹配
  • PHP:多维数组,多维键?
  • 比较数组中的值并更改值[关闭]
  • 将对象从函数传递到另一个函数
  • Apache为非现有页面返回200状态
  • 如何在PHP中的'addApiParam'上使用foreach循环?
  • $ _GET可以定位在网址的任何位置吗? [关闭]
  • 计算并列出某一行中的所有人
  • PHP:如何替换特定标签及其终结标签?
  • 在mysql数据库中创建记录的日期

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华