Using .htaccess i have a password protected folder online containing 7 files with one single user/pass combination.
User is not allowed to see that 7 files are available.
User enters 1 of 7 "Access Keys" in a simple HTML Form text input which is then processed (script?)
User is then redirected automatically to the related file (for download) e.g.
Access Key #1 redirects user to Protected File #1
Access Key #4 redirects user to Protected File #4
no problem! i've made 7 different directories with 7 different user/pass combos which give access to the 7 different files for download.
however, when the visitor arrives on the website, i need to direct them to the correct directory/file (relative to their access key) without showing the 7 links, it's this initial stage where i need to program a trigger of some kind relative to the "Access Key" they get via telephone.
Would a simple HTML form and a little bit server-side code do the job?
I can suggest some hint! No form or links needed. No access key even.
In most cases you can pop HTTP login form from your script.
After this you will have entered username in the $_SERVER['HTTP_AUTH_USER']
So, you can just locate them with Header Location