php - Example code for a comment parser -
The user has learned to parse any sample php (ideal codeigniter) code. To remove wastage and HTML tags?
Try to get rid of any HTML submitted You can use to avoid tags If you want to make sure that no HTML is displayed in the comments - according to Milano's example, there will be less unexpected effects with strip_tags.
For a word filter, depending on how you want to go, there are many examples on the web, from here to the example of Jake Olefsky (Example is a simple one connected earlier): < / P>
Many more examples of this can be on the web.
Comments
Post a Comment