[Code] PDO support in the PHP library

Jon Spriggs jon at sprig.gs
Mon Jan 2 23:20:10 UTC 2012


Hi All,

I've made some changes on my fork of the PHP-OpenID library to support
PDO based databases, and made the first steps towards making it work
with PDO-MySQL.

However, I've clearly done something different to the way that PEAR
does database connections, as when I get my response from the OpenID
provider (in this case, Google), I'm getting a "Bad Signature"
message.

Would someone who knows the intricacies of the PHP OpenID library
check over my changes (at
https://github.com/JonTheNiceGuy/php-openid), as it's been a while
since I've used GitHub, and I seem to have forgotten how to create a
branch there, thus I've just used the trunk from the last set of
patches I submitted and the tree isn't exactly the same as Master @
openid/php-openid, however, in essence, the changes of interest are in
the last commit to Master
(https://github.com/JonTheNiceGuy/php-openid/commit/583d894d82c0781996458afe5bd7c3255b58fa57)
and should otherwise be completely the same as trunk...

Seen as I seem to have screwed this up pretty royally (I'm still a
novice, more-or-less at git), if anyone wants the plain patch file, I
can e-mail it out.

All the best,
--
Jon "The Nice Guy" Spriggs


More information about the Code mailing list