Created
March 8, 2016 12:17
-
-
Save benmmurphy/63726f70b0ecb0f3ec9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Please enter the code sent to you to verify your phone number.</p> | |
<form method="POST" action="/token_verify.php"> | |
<input type="text" name="token"> | |
<input type="submit" value="Verify"> | |
</form> | |
<?php | |
if ($error == "invalid_token") { | |
?> | |
<div class="error">Invalid Token</div> | |
<?php | |
} else if ($error == "max_attempts") { | |
?> | |
<div class="error">Max attempts reached. <a href="/number_verify.php">Resend Token</a></div> | |
<?php | |
} else if ($error == "resend_token") { | |
?> | |
<div class="error">No token sent. <a href="/number_verify.php">Resend Token</a></div> | |
<?php | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment