Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Last active January 3, 2016 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niraj-shah/8385624 to your computer and use it in GitHub Desktop.
Save niraj-shah/8385624 to your computer and use it in GitHub Desktop.
Manual CSRF token in CodeIgniter
<input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment