Welcome Guest, Not a member yet? Register   Sign In
Codeigniter stripping script tags
#1

[eluser]alexbet[/eluser]
Hi All,

I am going crazy here, I can't find a solution to this. I have a CMS and a field where I need to allow my client to put any kind of HMTL code in it. For example, he would put a Google Ads code which contains <scr%ipt> tags to run javascript code. My problem is that those script tags get removed by xss_clean each time I submit and add the data for that field in the database.

I've tried practically everything to disable this. I disabled xss_clean in the config file, I've disable xss_clean in my script, I ran htmlspecialchars on the input, but nothing helps. The script tags still get removed no matter if xss_clean is running or not. I am now suspecting that something else is the matter and something else is stripping the script tags.

Please HELP!!!

Thanks!
Alex


Messages In This Thread
Codeigniter stripping script tags - by El Forum - 03-05-2011, 10:52 AM
Codeigniter stripping script tags - by El Forum - 03-05-2011, 09:52 PM
Codeigniter stripping script tags - by El Forum - 03-06-2011, 09:31 AM
Codeigniter stripping script tags - by El Forum - 03-17-2011, 07:05 AM
Codeigniter stripping script tags - by El Forum - 03-17-2011, 01:23 PM
Codeigniter stripping script tags - by El Forum - 03-18-2011, 12:55 AM
Codeigniter stripping script tags - by El Forum - 03-18-2011, 09:04 AM
Codeigniter stripping script tags - by El Forum - 03-21-2011, 10:14 PM
Codeigniter stripping script tags - by El Forum - 03-22-2011, 05:05 AM
Codeigniter stripping script tags - by El Forum - 03-22-2011, 11:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB