Startses Posted August 7, 2009 Share Posted August 7, 2009 I've been looking around but not finding anything too helpful to me. I basically have a user registration/login script that works great. But when I launch the site I want there to be minimal tampering with any of the sessions and so forth. I can pretty much create anything in php but the security I know nothing about, aside from doing basic form validating. Anyone have a decent recommendation for some easy-to-read tuts on the subject? Much thanks ; ) Quote Link to comment Share on other sites More sharing options...
mikesta707 Posted August 7, 2009 Share Posted August 7, 2009 sessions are stored on the server, so besides tampering by you, there can't be much tampering on the user end. Are you looking for protection against things like SQL injection? you want to look up the mysql_real_escape_string() function: http://us.php.net/manual/en/function.mysql-real-escape-string.php along with perhaps trim(), htmlentities(), and stripslashes() depending on what content you are validating 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.