<?php

$text = htmlentities($_POST['text']);
...

PHP Sanitizing a submitted Foru...

by Anri, August 10, 2010 19:21, 71 refactorings, tagged with php, POST, sanitize, forum

Lets say I am building a fo...

4058d6b5dc2bfd92fd7f7f9a13eb61a6 Talk
#!/usr/bin/php
<?php
/**
...

PHP HTML Filter

by grom, October 23, 2008 23:00, 5 refactorings, tagged with parser, php, html, sanitize

Only allow subset of HTML. ...

A14537020ec5b11fea3b956353724860 Talk