Hi everyone, I need help with writing a script that does the following:
a client/user goes onto my website, hits a link, it would pop up either
user name and password
password and directory name
and then after they enter the required info, it would take them to their own folder. So If I use Temp as a user and test as a password, it would go directly to temp folder. What is the easiest way to go about this? I have tried using .htaccess but that doesn't re-direct them to a particular folder, it would give access to a folder they click on. Help me out guys, and thanks. You guys are the greatest.
You can give each user a folder and use .htaccess in that folder. For example, if the user is joe you might just create a joe directory and when they go to website/joe they will get the .htaccess generated BASIC AUTH. This is the easiest way.
Hi, would you know how to program something in html that has a box which after they enter whatever number xxxx in that box, writes it into the address box of the browser or links them...such as www.test.com/reports/xxxx
You might be able to do with with a script that does an HTTP Redirect. If I was going to do it, I would try coding in PHP, capture the text, create the URL and send an HTTP redirect to the browser.