1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to protect my site from mysq linjection ?

Discussion in 'PHP' started by ramysarwat, Nov 15, 2010.

  1. #1
    i am building a new web site where users can rigister and post comments

    how can i secure my site from mysql injection and other security threats
    SEMrush
     
    ramysarwat, Nov 15, 2010 IP
    SEMrush
  2. freshdevelopment

    freshdevelopment Notable Member

    Messages:
    1,303
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    240
    #2
    For a start, use mysql_real_escape_string() on any user generated information that you will be using in an SQL query
     
    freshdevelopment, Nov 15, 2010 IP