Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

SQL inject

kaoskaos New
edited December 2009 in Vanilla 2.0 - 2.8
Does anyone know how to stop sql injections as i am creating a site from scratch and i need a safe way of stopping the injections can anyone please help me cheers

Comments

  • LincLinc Admin
    edited December 2009
    The first short-term band-aid I'd recommend is passing any text through mysql_real_escape_string() before putting it in a query. I recommend Googling PHP security and get reading; this isn't really a topic that you can cover in a forum post.

    Is this a Vanilla-related site or a custom site you've made?
  • Custom site and thx :D
Sign In or Register to comment.