问题描述
我正在尝试将 Steam 登录名添加到我的网站,但出现此错误
在 https://steamcommunity.com/openid 处找不到 OpenID 服务器
这是我正在使用的代码。
require 'steamauth/steamauth.PHP';
if(!isset($_SESSION['steamid'])) {
loginbutton(); //login button
} else {
include ('steamauth/userInfo.PHP'); //To access the $steamprofile array
//Protected content
logoutbutton(); //logout Button
}
其他四个文件位于https://github.com/SmItH197/SteamAuthentication“steamauth”下
解决方法
如果文件在同一个文件夹中,则不必调用该文件夹
从您的包含中删除 steamauth