Advertisement
Guest User

Untitled

a guest
Jul 5th, 2010
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php
  2.  
  3. $openid = new LightOpenID;
  4. $openid->required = array('contact/email', 'namePerson/friendly');
  5.  
  6. if($openid->validate()) {
  7.     $openid->validate();
  8.     $foo = $openid->getAttributes();
  9.     $content = "Loggenin: ". $foo['namePerson/friendly'] . $foo['contact/email'];
  10. }
  11.  
  12. // $content displays: "Loggedin:"
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement