Last active
April 16, 2016 01:48
-
-
Save jlamim/f8c02bbd84e31b278165327d06d13430 to your computer and use it in GitHub Desktop.
View Tokens - Tokens únicos com CodeIgniter
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
<div> | |
<div> | |
<h1>Tokens únicos com CodeIgniter</h1> | |
</div> | |
<h2>Seu token</h2> | |
<p><?=$token?></p> | |
<p><a href="<?=base_url('generate-token')?>" title="Clique aqui para gerar outro token único">Clique aqui</a> para gerar outro token único.</p> | |
<?php if($tokens): ?> | |
<h3>Outros tokens gerados</h3> | |
<ul> | |
<?php foreach($tokens as $tk): ?> | |
<li><?=$tk->token?></li> | |
<?php endforeach; ?> | |
</ul> | |
<?php endif; ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment