本文介绍了适用于PHP 5.3的OpenID库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人在PHP 5.3安装中使用过openid吗?我尝试过的都不起作用.

Does anyone have openid working in a PHP 5.3 installation? None of the libraries I've tried seem to be working.

推荐答案

好,我终于修复了该库...我解释了所有内容此处(您也可以下载php -openid库(更改后).

Ok, I finally got to fix the library... I explained everything here (you can also download the php-openid library after my changes).

我需要执行Paul Tarjan的建议,但是,我还需要修改Auth_OpenID_detectMathLibrary并将static关键字添加到许多功能中.之后,尽管它不是理想的解决方案,但它似乎可以正常工作...我认为应该用PHP 5重写整个库...

I needed to do what Paul Tarjan suggested but, also, I needed to modify the Auth_OpenID_detectMathLibrary and add the static keyword to a lot of functions. After that It seems to work perfectly although it is not an ideal solution... I think that someone should rewrite the whole library in PHP 5...

这篇关于适用于PHP 5.3的OpenID库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 16:20