+ 3
How to block SQL injection on a site written in PHP?
Website security
4 Respuestas
+ 2
Write a function sanitizeUrl() that checks urls for malicious insertions with the help of htmlentities()
Prepared statements are also effective: mysqli_prep()
always cast get data to int for integers.
+ 5
The use of Prepared statements and Santising user inputs
+ 2
Thanks for the answers, I spent a lot of time doing a functional website with PHP and MySQL without much focus on the security aspect. I will consider your proposals. Thank you
+ 1
MinatoOkazaki can u please hit me via WhatsApp +233246879744