escocia1 0 Newbie Poster

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
etc.

What's the best way to implement this? Perl/CGI? PHP? Javascript?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.