Welcome Guest, Not a member yet? Register   Sign In
filtering HTML form
#1

(This post was last modified: 09-09-2015, 07:20 AM by Rashid.)

Hello, all.

In a form there is a <textarea> field containing HTML formatted data, which get damaged after
PHP Code:
$this->input->post('text'); 

Some sub-strings replaced by '[removed]'.

The temporary solution i found is to turn off filtering by second parameter:
PHP Code:
$this->input->post('text'false); 

Could you suggest more secure approach?  Blush I want this filter, but i have to to deal with HTML data.
Reply


Messages In This Thread
filtering HTML form - by Rashid - 09-09-2015, 07:17 AM
RE: filtering HTML form - by mwhitney - 09-09-2015, 10:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB