Adding openid to site
Hello!
You may or maynot know that I use dylanjones.info as an openid- well I have been thinking of having a login portal on my site so people can use my projects for their own accounts.
For example, the lastfm app can show your info, you can access your flickr photos and share them etc
So first thing to do was to get me able to authenticate someone via openid. Yesterday I was trying a few different php libraries to no real avail - there was always some include missing or in the wrong place.
Anywhom I decided on going to a 3rd party authenticator. This has meant there's alot of to-ing the frowing of tokens and keys and what not.
On the bus this morning, I hope I have found the solution I was looking for. I needed to get the XML result of a http post:
$reply = curl_exec($ch);
$xml=simplexml_load_string($reply);
This apparantly won't work if the response is an array but I'll give it a bash in a bit in Leeds
Add your comment: