Recent content by kelreel

  1. K

    How I do restrict user from going to my website's image directory?

    I store all of my website's images in http://localhost/images folder but I don't want the user to dabble inside it by typing in the url. How do I do restrict the user from going to that folder?
  2. K

    How I do properly sanitize and validate user data using php?

    There's a textarea on my website, and I only want the user to use <b> or <i>. I tried using FILTER_SANITIZE_SPECIAL_CHARS but it is blocking everything. As usual, I do not want the user to inject any SQL or even use <script>, <p>, things like that. How do I do it? Hello, Rogers! The users are...
Back
Top