Reply to Re: removing html from textarea

Your name:

Reply:


Posted by Vladdy on 06/29/05 04:28

diablo wrote:
> hi
>
> i have seen several examples (blogs in particular)
>
> http://www.lastkissed.com/?p=7#comments
>
> where placing html into a textarea seems to be stripped out on the other
> side. and yet retains some...
>
> for example the above - i placed a </table> into the comment and submitted -
> the <blockquote> came out as a block quote but the </table> seems to have
> dissappeared.
>
> is there a way i can do a similar box - ie so that if someone puts html into
> it - it is stripped out?
>
> thanks for help
>
> Diablo
>
>
When done properly, the form data filtering is performed server side
using available scripting language.
PHP has some HTML filtering functions built-in.
You can easily write a function utilizing the regular expressions to do
the job.


--
Vladdy
http://www.klproductions.com

[Back to original 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

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