+ 1
What the best and safe way to develop a PHP code free from DDOS and hackers?
OOP could just solve ?
2 Answers
+ 4
There are services like Cloudfare that try to mitigate the risk of a DDoS attack for an annual / monthly price. That can be an alternative, although I do not know how accessible the prices are.
On the other hand, do not just worry about language security (there are thousands of guides on how to make your PHP app more secure). Worry that your server is protected in the same way.
+ 2
You will never be able to avoid ddos. A lot of other bugs can be avoided by being aware of sql injection, which you can avoid by sanitizing you inputs. OOP solves no security issues but structures your codebase