Page 1 of 1

CLASS DESIGN

Posted: Fri Oct 25, 2002 9:38 am
by kendall
Hi,

I am trying to build an web based browse direcotry application that enables to clients based on their permission level to browse,upload,download,move,andcreate directories

i have start but have realised that my scripts require a bit more personalisation methods

so i am thinking about using classes.
Now i do not want to use MySQL cause it means paying for additional hosting
so i wanted to know if i sroed information in clasess if it would be better see my theory is i create a class obj
lik class user
{
var username;
var password;
var permissions;
}
so each user loggin in would be classsed
but will t his mean that is user 1 logs in then user2 right after
will user 1 class be over written bu user 2?

i guess i will have to assign different variables for each to get individuality right?

what are your suggestions and advice on this?

are there any tutorials in repect to my project that i can work on?