mmarif4u Posted April 10, 2007 Share Posted April 10, 2007 Hi guys,,, I a have a form where user input thier details. That input will be stored in the db. So i have this security buffer for the post values... Is this secure r not, if not how to make it more secure. $name=mysql_real_escape_string(htmlentities($_POST['nmanme'])); Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/46378-is-this-secure/ Share on other sites More sharing options...
wildteen88 Posted April 10, 2007 Share Posted April 10, 2007 Yes that is should make your data secure that is being inserted into the database. mysql_real_ecape_string escapes most if not all characters that can harm your query. Quote Link to comment https://forums.phpfreaks.com/topic/46378-is-this-secure/#findComment-225671 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.