Answers for "codeignite 4 csrf"

1

codeignite 4 csrf

<input type="hidden" name="<?= csrf_token() ?>" value="<?= csrf_hash() ?>" />

// Generates: <input type="hidden" name="{csrf_token}" value="{csrf_hash}" />
<?= csrf_field() ?>

// Generates: <meta name="{csrf_header}" content="{csrf_hash}" />
<?= csrf_meta() ?>
Posted by: Guest on September-28-2021

Browse Popular Code Answers by Language