Welcome Guest, Not a member yet? Register   Sign In
possible to add charset for htmlspecialchars in form_validation lib?
#1

(This post was last modified: 06-27-2016, 04:48 AM by JanFromHamburg.)

Could I add a charset to htmspecialchars in form_validation? I get a lot of Latin1 inputs and would not like to do all changes by single rules...

PHP Code:
$this->form_validation->set_rules('text''text''htmlspecialchars'); 
Reply
#2

No, and you should be using that on inputs.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB