On Tue, 09 May 2006 06:12:39 +0000, Gordon Burditt wrote:
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?
You don't HAVE to use a database for 3 users. You can hardcode the 3
usernames, passwords, and destinations into the script.
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.
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos