Multiple login without db

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'm newbie. Just wonder, after googling for several hours: is it impossible  
to make a login script for, say, three different users and, after  
successfull login with username and password, redirect them to their  
destination (totally three destinations, but only one for each user),  
without any MySql? And at the same time add som security (session or so).  
Any idea?  

Re: Multiple login without db

Quoted text here. Click to load it

You don't HAVE to use a database for 3 users.  You can hardcode the
3 usernames, passwords, and destinations into the script.  

                    Gordon L. Burditt

Re: Multiple login without db

On Tue, 09 May 2006 06:12:39 +0000, Gordon Burditt wrote:
Quoted text here. Click to load it

To the OP:

Or use sqlite (if you're using PHP 5) or use flat comma separated files
and fgetcsv (or custom parsing if you don't want to use CSV files).  You
could use an LDAP system.  You could store the authenticated users in an
email inbox and read the emails using IMAP/POP3 then parse them (although
I'm now getting a bit silly).

There really is any great number of options, MySQL is a good/great
solution but far from the only one - the ways of storing the information
you need is only limited by your imagination.



Andy Jeffries MBCS CITP ZCE   | gPHPEdit Lead Developer | PHP editor for Gnome 2 | Personal site and photos

Site Timeline