Web Hosting Talk







View Full Version : htaccess and mysql


sessionmedia_070907
08-12-2003, 02:53 PM
Anyone able to explain to me or know how I can get a htaccess login system to work with a mysql dbase.

What I want is a htaccess/htpassword login system that would also be able to pull a users info out of their table in my mysql dbase and display it after they login.
Anyonw know if this is possible and is nice enought to explain how I can get this to work. I know I could just do a php/msql login system with sessions but thats not want I want.

thanks

The Prohacker
08-12-2003, 03:44 PM
http://www.cgi101.com/class/password/mod_auth_mysql.html

xtsy
08-15-2003, 12:02 PM
I wanted to do the same thing and asked here in this thread http://www.webhostingtalk.com/showthread.php?s=&threadid=174111

There are few links about htaccess.It should also help you.
I am also very close to do it myself. If I be able to do it Then I will give you the code. Thanks

sessionmedia_070907
08-15-2003, 06:49 PM
thanks

And if I am able to write or find a code that will work I will post it for you also.

thanks

xtsy
08-29-2003, 12:33 PM
Hi Have you done it? I was able to add ,delete users my my sql database to .htaccess.If you want it I will post it to you.PM me your email address.

sessionmedia_070907
08-29-2003, 12:37 PM
Hello,

My email is Jreis@sessionmedia.com

I would appricate it if you can share what you have with me. I wound up just using a php/mysql login system cause I could not find any info about how to change a password or write a password to .htpassword and mysql at the same time

so any help would still be appricated

thanks

X-Istence
08-30-2003, 08:10 AM
Personally i would use MySQL + PHP for the ease of use this provides you.