Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Created January 12, 2014 14:53
Show Gist options
  • Save niraj-shah/8385551 to your computer and use it in GitHub Desktop.
Save niraj-shah/8385551 to your computer and use it in GitHub Desktop.
CodeIgnitor Form with CSRF token added
<form action="http://testapplication.com/login" method="post" accept-charset="utf-8" id="login-form" class="login">
<div style="display:none">
<input type="hidden" name="csrf_test_name" value="80bfb80b356d6d31f4ce4dad0c6cf69e">
</div>
...
...
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment