CodeIgniter Forums
strip_image_tags not working - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: strip_image_tags not working (/showthread.php?tid=36536)



strip_image_tags not working - El Forum - 12-05-2010

[eluser]Neil_W[/eluser]
Hello,
I'm getting this error in my form validation:
Call to undefined method CI_Input:Confusedtrip_image_tags()

However, my set_rules is configured as follows:
xss_clean|strip_image_tags

I am loading the Security helper and there are no errors with xss_clean call, and if I add encode_php_tags or any other method in the Security helper I get no errors, it's only when I add strip_image_tags.

Any help would be appreciated.

Also, a quick question on xss_clean: does it simply check for xss or does it apply any manipulation such as stripping html tags, etc.

Thanks.