Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $openid = new LightOpenID;
- $openid->required = array('contact/email', 'namePerson/friendly');
- if($openid->validate()) {
- $openid->validate();
- $foo = $openid->getAttributes();
- $content = "Loggenin: ". $foo['namePerson/friendly'] . $foo['contact/email'];
- }
- // $content displays: "Loggedin:"
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement