Roddy87 Posted April 15, 2010 Share Posted April 15, 2010 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? Thanks in advance Link to comment https://forums.phpfreaks.com/topic/198677-unique-pages-for-users-after-login/ Share on other sites More sharing options...
Ken2k7 Posted April 15, 2010 Share Posted April 15, 2010 Why not set up a database that records who uploads what? Link to comment https://forums.phpfreaks.com/topic/198677-unique-pages-for-users-after-login/#findComment-1042640 Share on other sites More sharing options...
dominicd Posted April 15, 2010 Share Posted April 15, 2010 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`) Link to comment https://forums.phpfreaks.com/topic/198677-unique-pages-for-users-after-login/#findComment-1042662 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.