Welcome Guest, Not a member yet? Register   Sign In
action not allowed on form validation
#3

Thanks! You are right, it works if i set csfr on false. But I need to have it set on TRUE. So i googled about it and tried to make hidden input like this
PHP Code:
$hidden = array($this->security->get_csrf_token_name() => $this->security->get_csrf_hash());
echo 
form_open('pages/Login'''$hidden); 

and

PHP Code:
<div style="display:none">
<
input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash();?>" />
</
div

but nothing of above solved a problem.

Do you have any suggestions how to make it work? I can't be the only one with this kind of problem?
Reply


Messages In This Thread
action not allowed on form validation - by juro - 12-08-2014, 04:40 AM
RE: action not allowed on form validation - by juro - 12-09-2014, 02:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB