Welcome Guest, Not a member yet? Register   Sign In
Beginner needs help with form
#7

[eluser]CroNiX[/eluser]
I believe to add it manually, it would be something like:
Code:
<input type="hidden" name="<?=$this->security->get_csrf_token_name(); ?>" value="<?=$this->security->get_csrf_hash(); ?>">

But if you simply just did:
Code:
<?=form_open('adopt', array('class' => 'form-horizontal', 'name' => 'adopt')); ?>

it would create something like:
Code:
<form accept-charset="utf-8" name="adopt" class="form-horizontal" method="post" action="http://yoursite.com/adopt">
<input type="hidden" name="the_csrf_name" value="the_csrf_value">


Messages In This Thread
Beginner needs help with form - by El Forum - 07-24-2014, 05:12 AM
Beginner needs help with form - by El Forum - 07-24-2014, 07:13 AM
Beginner needs help with form - by El Forum - 07-24-2014, 07:37 AM
Beginner needs help with form - by El Forum - 07-24-2014, 10:11 AM
Beginner needs help with form - by El Forum - 07-24-2014, 01:14 PM
Beginner needs help with form - by El Forum - 07-24-2014, 01:39 PM
Beginner needs help with form - by El Forum - 07-24-2014, 01:44 PM
Beginner needs help with form - by El Forum - 07-25-2014, 08:10 AM
Beginner needs help with form - by El Forum - 07-25-2014, 08:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB