How to securely store passwords in a database.

Keeping your passwords in a database in a plane format is a very bad idea. So why not to use hashing? Sure you can use hash, end it is totally OK to compare hash against hash. Especially if the password you want to store are not yours. Then this is the way to do it...

NginX + PHP on Windows 10

Installing Nginx on Windows Download NginX files from: https://nginx.org/en/docs/windows.html. Unzip to C\{name-version} (in my case it would be C:\nginx-1.25.4 directory). Open PowerShell as an Administrator and lunch server by typing cmd: start nginx Every time you...

How to protect PHP source Code?

When to keep your PHP code logic secret? Whenever you need to pass a script to a client, but you are afraid that it will get copied and reused elsewhere without your permission. How to protect your PHP code? You could implement code “blockers”. Provide a...