I freakin' hate Godaddy. I wanted a linux server so I could htaccess folders, which Godaddy has, but PHP isn't handled by Apache on their servers :glare:
I'm having little to no luck at all with password protecting a directory with PHP files in it. I've tried 50+ scripts from hotscripts (the first 11 pages, if it used htaccess as a method, I skipped it and if users could register, I skipped it) and nothing seems to work very well, if it works at all.
I did get one script to work, but it only protected 1 file (Script posted in this thread )and I couldn't figure out how to change the 6 files in the script to work to protect the other PHP in my directory and sub directory. Major headaches. I'm not good at PHP, I'm not good at HTML, but I'm learning and I'm trying.
The most common errors seem to be the "path" "stream". I'll try 'go/daddy/s/s/s/c/r/a/z/y/serverpath' and the simple'./path' I really have just about exhausted the scripts I've found on hotscipts all 132 of them.
So, if anyone has or knows of a script that's fairly simple to use, doesn't use MySQL locked tables (something else Godaddy doesn't allow), I would be very thankful.
I need it to:
-Not allow people to sign up as users.
-I only need one user name/password
-I need to protect only one directory (6PHP files in the same directory with 2 files in a sub directory)
-I don't care if it's MySQL as long as there are no locked table requirements.
Any suggestions, other than the obvious of changing hosts, is most appreciated 😃