Jump to content

Unique pages for users after login!?


Roddy87

Recommended Posts

Ok here's my problem...i have a file upload system where users can login and upload files to the server as they choose.....when they login i take each user to their own personal page...from there they can edit their info and upload files. Right now when users upload a file....all of the files go in a table on the main page, but i wud like if each user cud upload files to their own separate page so it wud be more like their own personal page that no one else can see. Any idea on how i can do this? :confused:

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/198677-unique-pages-for-users-after-login/
Share on other sites

Why not set up a database that records who uploads what?

 

CREATE TABLE `list_photos` (
  `photo_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `list_id` int(11) unsigned NOT NULL,
  `file_name` text,
  `remarks` text,
  `user_id` int(11) DEFAULT NULL,
  `user_created` varchar(100) DEFAULT NULL,
  `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `user_modified` varchar(100) DEFAULT NULL,
  `date_modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`photo_id`)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.