Click to See Complete Forum and Search --> : passwords


maroof
01-10-2003, 12:25 PM
Hi ,
i had a question about passwords and registration. Look at the web site : http://www.cgi101.com/class/password/
Here there are 2 ways of doing it- either using a htaccess file or a MYSql database. Is there a possibility to use the same code, by just using a text file rather than the above 2 options? I have to design a user authentication site for a company and they would be expecting multiple users. So, if I just use a text file- will it work. please help-anyone.
Thanks
maroof

jeffmott
01-10-2003, 03:52 PM
maroof
Is there a possibility to use the same code, by just using a text file
I'm not sure I understand what you're trying to do. Can you describe what you're thinking with more detail?

dalehend
01-14-2003, 02:27 AM
There is a perl module for user authentication that supports flat files and sql databases -

http://www.edlund.org/hacks/averist/

maroof
01-17-2003, 12:24 PM
Originally posted by jeffmott
I'm not sure I understand what you're trying to do. Can you describe what you're thinking with more detail?
Hi,
i am thinking about creating a text file that will store all the names and emails of the users after user authentications. Can u tell me anything about this. Also, I am trying to get MYSQL right now. So, do u think its more advisable to do it in mysql?
maroof

jeffmott
01-17-2003, 01:12 PM
It is almost always more advisable to use MySQL. But if that is not possible, or if you choose not to, I would recommend looking into the MLDBM module. http://search.cpan.org/author/CHAMAS/MLDBM-2.01/lib/MLDBM.pm