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 ; ) Link to comment https://forums.phpfreaks.com/topic/169254-login-script-advice/ 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 Link to comment https://forums.phpfreaks.com/topic/169254-login-script-advice/#findComment-893120 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.