cgm225 Posted April 25, 2008 Share Posted April 25, 2008 How should I be filtering/validating user inputted username and passwords? Restated, before I even check to see if the provided username and password are ones I have in my database, how should I be checking their input (for mysql injections, etc.). Should I be using the filter_var() function? If so, with what setting? Or should be be using a regex? If so, again, what setting. Thank you all in advance! Quote Link to comment Share on other sites More sharing options...
mikefrederick Posted April 25, 2008 Share Posted April 25, 2008 mysql_real_escape_string Quote Link to comment 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.