I m new to PHP OOP, and I think public $var
and __construct()
are exactly the same.
What s the difference? Which one should I use?
I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...