Reply to Re: Multiple login without db

Your name:

Reply:


Posted by Andy Jeffries on 05/09/06 11:25

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация