useEncryption(false);
if (isset($_GET) && !empty($_GET)) {
var_export($_GET); var_export($_SESSION);
echo '
';
$result = $test->finish($_GET);
var_dump($result);
exit;
}
OpenID::setVersion(2.0);
$authRedirect = $test->start('padraic.astrumfutura.com');
//var_dump($test); exit;
$authRedirect->setExtensionArgument('sreg', 'optional', 'email');
//exit($authRedirect->getRedirectUri('http://localhost/projects/openid/test.php', 'http://localhost'));
$authRedirect->redirect('http://localhost/projects/pear/trunk/OpenID/test.php', 'http://localhost');