NXTS-Developers / MOFHY-Lite

MOFHY Lite is a free web hosting management system to manage MOFH hosting accounts and SSL certificates.
https://getmofhy.eu.org
MIT License
20 stars 14 forks source link

The error keeps appearing #51

Closed santydesignscr closed 2 years ago

santydesignscr commented 2 years ago

Please remove that, I don't see any use for it and I don't see it necessary, it just makes the website have a 500 error

PlanetTheCloud commented 2 years ago

Hello, There is a use for it and it should be to escape the input. If not, the application is vulnerable to SQL Injections. Please change it to mysqli_real_escape_sting.

Reference: https://www.php.net/manual/en/mysqli.real-escape-string.php

santydesignscr commented 2 years ago

Yes but how I make it work?, I am geting a error 500