chriscloyd Posted May 28, 2007 Share Posted May 28, 2007 how do i secure my php form fields Link to comment https://forums.phpfreaks.com/topic/53221-form-secures/ Share on other sites More sharing options...
pocobueno1388 Posted May 28, 2007 Share Posted May 28, 2007 You should strip all the HTML tags, and probably use mysql_real_escape_string on them. strip_tags(mysql_real_escape_string($_POST['form_val'])) http://www.php.net/manual/en/function.mysql-real-escape-string.php www.php.net/strip_tags Link to comment https://forums.phpfreaks.com/topic/53221-form-secures/#findComment-262954 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.