CLASS DESIGN

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
kendall
Forum Regular
Posts: 852
Joined: Tue Jul 30, 2002 10:21 am
Location: Trinidad, West Indies
Contact:

CLASS DESIGN

Post 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?
Post Reply