Welcome Guest, Not a member yet? Register   Sign In
Problem with javascript in textarea
#1

[eluser]Renex[/eluser]
Hello everyone.

I want to add a form in my admin panel where I can add the code from Google Adsense. Unfortunelly CodeIgniter removes everything I have related to JavaScript and appears [removed]. XSS filter is disabled.

What can I do to be able to post the javascript in the textarea?

George
#2

[eluser]jcavard[/eluser]
Just use the unfiltered data then
Code:
$_POST['field_name'];
#3

[eluser]Renex[/eluser]
it worked.
thank you very much Smile
#4

[eluser]Jondolar[/eluser]
I recommend you make sure you run the unfilted data through "some" sort of filter on your own :-)




Theme © iAndrew 2016 - Forum software by © MyBB