Guest User

Untitled

a guest
May 26th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. require_once 'openid.php';
  3.     $openid = new LightOpenID("xxx.de");
  4.  
  5.     $openid->identity = 'https://www.google.com/accounts/o8/id';
  6.     $openid->required = array(
  7.                 'namePerson/first',
  8.   '             namePerson/last',
  9.                 'contact/email',
  10.             );
  11.     $openid->returnUrl = 'http://xxx/anmelden_google.php';
  12.     $open_url = $openid->authUrl();
  13.     ?>
  14. <a href="<?php echo $open_url ?>">Login with Google</a>
Advertisement
Add Comment
Please, Sign In to add comment