Skip to content

Instantly share code, notes, and snippets.

@benmmurphy
Last active June 6, 2016 14:23
Show Gist options
  • Save benmmurphy/c46b5a8e7ebeb9dfe79fb9709faa0708 to your computer and use it in GitHub Desktop.
Save benmmurphy/c46b5a8e7ebeb9dfe79fb9709faa0708 to your computer and use it in GitHub Desktop.
zensend verify step 3
<?php
$user = USERS[$username];
try {
$verify->verify_response($user["msisdn"]);
header("Location: /login_success.php");
} catch (Exception $e) {
header("Location: /login_fail.php");
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment