Have an account? Sign in
Login  Register  Facebook
Securing user inputs for database
What is good method to secure the user inputs before inserting to database so that there can not be SQL injection or other kind of hacking?
If you can give any function/code, it will be very nice.
Started: September 18, 2011 Latest Activity: September 18, 2011 sql security
1 Answer
its easy just

Posted: MacOS
In: September 18, 2011

so mysql_real_escape_string()alone should be enough?
September 18, 2011

look here too http://php.net/manual/en/security.database.sql-injection.php
September 18, 2011

Your Answer

xDo you want to answer this question? Please login or create an account to post your answer