WHAT IS & HOW TO PREVENT URL INJECTIONS IN PHP?

WHAT IS & HOW TO PREVENT URL INJECTIONS IN PHP?

4
Share:

4 Comments

  1. Thanks, recently been had by this so this will help me in future!

    avatar
    Nikki
  2. Great, Very nice tutorial, I like don't know about that.

    Thanks for giving such an important coding. I always use this when i needed the data from database using id.

    Thanks again for nice tutorial.

    avatar
    Web Development Company
    1. Hello, My website was recently hacked. Google mentioned url injections were used. I came across your website and the code above and I hope it can help, however I am not a master coder and wanted to just clarify where exactly would I need to add this code to ensure my website is not attacked again. My website is built in wordpress. I hope you can help. Thanks in advance for any help you can provide. David

      avatar
      David
    2. As your website is a WordPress website, you need to make sure that all plugins are up to date and also the WordPress is using the latest version. If you are still getting hacked I would suggest you disable your plugins

      avatar
      UBL Designs

Leave a Comment