Hi, there is a module for apache that autorizes with mysql, the name of the module is: mod_auth_mysql-2.20, that way you can protect files/directories with the .htaccess method. Bye.
PD. The module is at: www.mysql.com On Thu, Nov 29, 2001 at 08:59:05PM +0000, Hippie wrote: > I'm attempting authorise users from a MySQL database. The idea being, > that upon access to the page they input their username and password > and this is checked against a table from an SQL database. This page > needs to be completely server independant which means that I can't > make use of the $PHP_AUTH_USER as this relies on IIS or Apache to know > how to authorise to my knowledge. > > If anyone has any ideas on how to accomplish this I would be more than > interested to hear of them. Also, failing this being possible if I can > resort to checking it against Radius instead of SQL so any ideas on > that would be great as well. > > Hippie. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Mauricio Téllez Jiménez Seguimiento Técnico EDUMEXICO [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Zamora No. 25, Col. Centro C.P. 91000, Xalapa, Ver. Tel. 52(28)17-86-87, 17-73-80 Fax. 52(28)18-64-13
msg41657/pgp00000.pgp
Description: PGP signature