473,387 Members | 1,318 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Multiple login without db

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?
May 10 '06 #1
2 1398
>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.

Gordon L. Burditt
May 10 '06 #2
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

May 10 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick Zdunic | last post by:
I may have come across from what I have heard is the 'Multiple Hop' delegation issue. I'll explain the situation somewhat: We have a SharePoint Portal setup. The client wants to use Page...
3
by: Deano | last post by:
i.e the best way to have multiple validated users on the system who can then access the back-end? Or is it just as easy to write your own user management and login form and base your code on that?...
2
by: James X. Li | last post by:
Is there a way to implement multiple login forms for ASP.NET applications? With our application we want to implement simple login form for normal resources (downloadable files), but more rigorous...
3
by: dgator | last post by:
Is it possible to have multiple LoginURL's. I have a situation where I have a certain url redirect into my secure web application. I have the specific login credentials handled fine. The users...
9
by: Graham | last post by:
I have been having some fun learning and using the new Controls and methods in .Net 2.0 which will make my life in the future easier and faster. Specifically the new databinding practises and...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
18
by: Gleep | last post by:
I've searched google intensely on this topic and it seems noone really knows how to approch this. The goal I don't want clients to give out their usernames and passwords to friends, since the site...
0
by: melton9 | last post by:
I'm writing an app that logs in to sites and gets the information I need. Thus far I've been able to get into the sites individually, but when I start trying to access multiple sites its not...
6
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
10
by: shankhar | last post by:
Hi all, In my project there is a requirement. If a user logged in at a time since he/she logged out others are not allowed to loggin using the same user name. That is to avoid multiple logins...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.