custom user profile
Posted: Wed Aug 02, 2006 12:33 pm
Hello All,
I am very new to php and also to this forum.I would like to add some php code that would do the following for the database that I have:
I have a server which has shared folders on it.Each user has write permission to only one folder and has read permission to all the other folders.I have MySQL database running on the server.I have an application that uses MySQL as a back-end and uses php scripting.Each user has a profile in the database too.(They have same userids as they have for the shared folders in windows).
What I would like to accomplish is that once the user logs in to the database, depending on the user's profile, I need one of the fields in the .php page to be different for each user.Is that possible?
For example, say - I have a path C:\Documents and Settings\....\user1 for user1 ; I would like it to display C:\Documents and Settings\....\...\user2 for user2.
Any help/info is appreciated.
Thanks,
Regards,
Madhuri
I am very new to php and also to this forum.I would like to add some php code that would do the following for the database that I have:
I have a server which has shared folders on it.Each user has write permission to only one folder and has read permission to all the other folders.I have MySQL database running on the server.I have an application that uses MySQL as a back-end and uses php scripting.Each user has a profile in the database too.(They have same userids as they have for the shared folders in windows).
What I would like to accomplish is that once the user logs in to the database, depending on the user's profile, I need one of the fields in the .php page to be different for each user.Is that possible?
For example, say - I have a path C:\Documents and Settings\....\user1 for user1 ; I would like it to display C:\Documents and Settings\....\...\user2 for user2.
Any help/info is appreciated.
Thanks,
Regards,
Madhuri