php - codeigniter append [removed] message while stripping tags -


i using codeigniter 2.1.4,

if add

>  hello world <script>alert('hi')</script> 

in inputbox.

while processing value codeigniter adding [removed] text.the output

hello world[removed]alert('hi');[removed]

i think should use strip_tags function php

echo strip_tags("<b>foo</b>"); 

results in: foo , in case output of

echo strip_tags("hello world <script>alert('hi')</script>"); 

results in: hello world alert('hi')


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -