10-29-2007, 07:21 PM
|
#2 (permalink)
|
|
The Acquainted
Join Date: Sep 2007
Location: Leeds, UK
Posts: 141
Thanks: 6
|
PHP Code:
function clean($str) { return htmlspecialchars(mysql_real_escape_string(stripslashes($str))); }
Execute:
PHP Code:
clean($_POST['var']);
__________________
Not quite a n00b...
|
|
|
|