mode) { if(isset($_POST['openid_identifier'])) { $openid->identity = $_POST['openid_identifier']; header('Location: ' . $openid->authUrl()); } ?>
OpenID:
mode == 'cancel') { echo 'User has canceled authentication!'; } else { echo 'User ' . ($openid->validate() ? $openid->identity . ' has ' : 'has not ') . 'logged in.'; } } catch(ErrorException $e) { echo $e->getMessage(); }