nobackseat88
05-07-2009, 02:41 AM
I have a form where users can test HTML.
I wish them not to be able to insert Flash, PHP or any other harmful codes.
Does anybody have the codes for this?
The following doesn't seem to work for PHP. :confused:
if (eregi('<?', $text)) {die("Not HTML");
}
I wish them not to be able to insert Flash, PHP or any other harmful codes.
Does anybody have the codes for this?
The following doesn't seem to work for PHP. :confused:
if (eregi('<?', $text)) {die("Not HTML");
}