Created
July 5, 2016 15:45
-
-
Save jlamim/c5d59a5a10b27c892db85fd0f6125cc3 to your computer and use it in GitHub Desktop.
Validação de email com a API MailBoxLayer - View
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
<html> | |
<head> | |
<title>Validação de email com a API MailBoxLayer</title> | |
</head> | |
<body> | |
<h1>Validação de email com a API MailBoxLayer</h1> | |
<p>Informe seu email para executar o processo de validação.</strong>.</p> | |
<form method="POST" action="<?=base_url()?>"> | |
<div> | |
<input type="email" name="email" required /> | |
</div> | |
<div> | |
<input type="submit" value="Validar" /> | |
</div> | |
</form> | |
<?php if(isset($validEmail)): ?> | |
<div> | |
<h2>Mensagens da validação</h2> | |
<hr /> | |
<ul> | |
<?php | |
foreach($validEmail as $item): | |
echo "<li>$item</li>"; | |
endforeach; | |
?> | |
</ul> | |
</div> | |
<?php endif; ?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment