You are here: Re: Allow/Make safe html user comments « All PHP « IT news, forums, messages
Re: Allow/Make safe html user comments

Posted by Peter on 05/23/05 14:24

> One thing you could try instead of stripping all html out, is simply
> replacing < and > with something else, like #.
> The code would still appear (obviously) but wouldn't be executable.
> That is unless you don't want the html code to appear at all.. in which
> case, I have no idea :)

there is a php function for stripping html and php tags

http://uk2.php.net/strip_tags

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация