If you are really worried about this you may want to take a look at something like HTML Purifier http://htmlpurifier.org/ or KSES http://sourceforge.net/projects/kses/
HTH Tarique On 10/30/07, cakeFreak <[EMAIL PROTECTED]> wrote: > > Cheers guys, > > in the end I stripped the unwanted HTML tags using strip_tags() PHP > native function. > ------------------------------------------------------------------ > $commentInputs = $this->data['Comment']; > $data['Comment']['body'] = strip_tags($commentInputs['body'], > '<p><a><b><i>'); > ------------------------------------------------------------------ > -- ============================================================= Cheesecake-Photoblog: http://cheesecake-photoblog.org PHP for E-Biz: http://sanisoft.com ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
