The user has the ability to add a link, the link is recorded in the database. How to properly clear this link before writing to the database?

  • use the php urlencode() function - Vitaly Shebanits
  • one
    Specify - to clear from what? If we are talking about sql-injection, then this “cleaning” takes place at the level of forming a sql-query for any texts, and not just references. - MAX

0