gpt4 book ai didi

php - 使用 mysqli_init() 时尚不允许属性访问。尝试跳过 php 中的安全身份验证

转载 作者:行者123 更新时间:2023-12-01 21:34:46 25 4
gpt4 key购买 nike

我正在尝试跳过 php 中的安全身份验证。

$con= mysqli_init();
mysqli_options( $con, "READ_MYSQLI_DEFAULT_FILE", "/etc/my.cnf" );
mysqli_real_connect( $con, "localhost", ....password,etc... )

当我在 phpstorm 中调试时,在第一行,mysqli_init 失败并表示尚未允许属性访问..

最佳答案

在找到这个答案后:mysqli + xdebug breakpoint after closing statment result in many warnings

看起来它是 mysqli 驱动程序中的一个错误,但是代码或连接没有任何问题。

关于php - 使用 mysqli_init() 时尚不允许属性访问。尝试跳过 php 中的安全身份验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29401923/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com