English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hello,
How can I make it that once my user has paid, they get given the password and username to access the site.

I dont want to use php/perl/cgi or java, just use the server htaccess to protect it.

But how can I make it that the user gets his password and username automatically displayed after the thank you page.

2007-04-06 22:35:42 · 3 answers · asked by webjunky j 1 in Computers & Internet Programming & Design

3 answers

For this to work, your signup will have to address and check the current htaccess username and password file then add the new user entry (htaccess isn't really setup for this to be done easily) Once that is done the user can then access your protected pages. (You still have to "script" the page.)

This is much much easier using a database for the storeage of the username/password combinations. You need to check to see it a username is taken before allowing your users to enter one.

I guess you could display to the completed signups a single username and password for your protected pages and let everyone access using the same information BUT it would be highly insecure and probably well shared!

2007-04-07 02:18:32 · answer #1 · answered by Tracy L 7 · 0 0

You can not do it using .htaccess
You need to use php and database combination
We Can Code For You And Also Make You Understand Contact Us At
http://expert.timecapsuleyahoo.com/

2007-04-07 06:16:55 · answer #2 · answered by Anonymous · 0 0

I have the best answer for your question "Password Protect Webpages, access after payment?". Please click the link below to check my answer:

2007-04-07 05:43:08 · answer #3 · answered by Jessica R 1 · 0 0

fedest.com, questions and answers