Safe sample input : use fopen to read /tmp/tainted.txt and put the first line in $tainted SANITIZE : use str_replace to escape special chars - construction : concatenation with simple quote
Have any comments on this test case? Please, send us an email.