PHP Password Protection – Alternative to HTACCESS
I was trying to put some password protection on a single file the other day using an htaccess file, but was getting all sorts of weird server errors. So I did some searching and a little research, and I figured out a way to mimic htaccess password protection with php. // Check if Username and