← Back to excelora.in Free courses by the Excelora team · Learn by doing
Hire Excelora

Lesson 4 of 4 · 12 min read

Passwords, config and going live

  • Store passwords with password_hash() and check with password_verify(). Never store plain text or MD5.
  • Keep config (DB passwords, API keys) in a folder outside public_html.
  • Turn off display_errors in production — errors leak file paths.
  • Force HTTPS and add security headers in .htaccess.
This exact setup is what powers excelora.in.

⚡ Quick check

Best function to store a password?