Hi,
I am very new to PHP, I have managed to create a basic database with a table of users, and a form for logging in.
Is there a way to create an 'area' where the users that are logged in can view, upload and download files. For example, a file storage area just like dropbox?
Afterwards, I would then like to set permissions for each of the users to only access certain folders within that 'storage area'.
I realise there are many websites like dropbox and box.net, but I would like to code my own version.
Thanks in advance
Page 1 of 1
File Storage
#2
Posted 25 January 2012 - 08:54 AM
Wayneio, on 23 January 2012 - 02:14 PM, said:
Hi,
I am very new to PHP, I have managed to create a basic database with a table of users, and a form for logging in.
Is there a way to create an 'area' where the users that are logged in can view, upload and download files. For example, a file storage area just like dropbox?
Afterwards, I would then like to set permissions for each of the users to only access certain folders within that 'storage area'.
I realise there are many websites like dropbox and box.net, but I would like to code my own version.
Thanks in advance
I am very new to PHP, I have managed to create a basic database with a table of users, and a form for logging in.
Is there a way to create an 'area' where the users that are logged in can view, upload and download files. For example, a file storage area just like dropbox?
Afterwards, I would then like to set permissions for each of the users to only access certain folders within that 'storage area'.
I realise there are many websites like dropbox and box.net, but I would like to code my own version.
Thanks in advance
Bump. Noone got any ideas / tutorials?
#3
Posted 25 January 2012 - 09:02 AM
Wayneio, on 25 January 2012 - 08:54 AM, said:
Bump. Noone got any ideas / tutorials?
You'll want to use cookies or sessions to pass their login status between pages, then have these pages check their admin level. All you'll need is a database of users with their username, password and clearance level and you'll be good to go.
Check out:
Cookies and Sessions
Setting Cookies
- ← Only some data is being sent from my contact form
- Server Side (PHP, Databases, ASP.NET, etc)
- Spreading over 2 columns →
Share this topic:
Page 1 of 1
Help














