• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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 :-)


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.