Web Database question

kag

Golden Member
May 21, 2001
1,677
0
76
www.boloxe.com
Hi..
here's what I wanna do...

I have a list of 1000 users/passwords divided in 10 groups of 100 people and everyone from each group is redirected to a specific page. Like 10 from group1 people will be redirected to page1, 10 people from group2 to page2, etc etc.
They are redirected to a page depending on the group they belong to.. and of course, teh user/pass combinaison have to be correct.

I thought about those solutions:
PHP / mySQL
ASP / MS-Access
etc

but......... the server runs on Windows98.... and the server itself is OmniHTTPd right now. He installed the PHP module, so now PHP works but I think mySQL is kinda memory hungry on Win98 - is this true?.... and I checked for ChiliASP and Instant ASP, they only run on Win2k/NT too

So basicly, i'm down to OmniHTTPd / PHP / mySQL because it seems the only thing with a database that Win98 can run.....

Do you have any other ideas? Like some predefined scripts that would do the same thing in PHP or javascript (or anything else)?
 

manly

Lifer
Jan 25, 2000
13,589
4,239
136
Is this a real system, or a homework assignment?

I ask because if it's not a real system, then you don't need a real database engine.

You can roll your own in-memory database with the programming language. I.e. use the language hashtable to store the username/password credentials.

So all that has to be done is when you start the web application, it reads in all the username/passwords from a flat text file.

Now if this is a real system that needs to be maintained, then you might want to use a real database.

However, if you abstract out the actual mechanism to fetch the user credentials into a "UserManager" module, that module can hide the actual database implementation used.
 

kag

Golden Member
May 21, 2001
1,677
0
76
www.boloxe.com
yes, it's a real system that I dont have physical access to.... but one of my friend does and he can do some basic tasks, but nothing complicated....

I just want to know the easiest way to do it...... either server side or client side... but i want it to be somehow secure, not NSA encrypting but no easy way to hack your way around

if it's server side, it has to be php/mysql... anyway i'm gonna install php/mysql on a machine i have here to see if it needs a lot of configuration before you get it to work (to see if my friend could so it himself)