webdogjcn Posted May 21, 2006 Share Posted May 21, 2006 Okay I have a file upload system where the users can upload their files to my site. But I want them to be able to later go back and fill out a description and add a thumbnail for their file. So what I want is for people to be able to view all files and if the owner hasn't made a description page it will just download the file when they click on it, but if they have it will go to a description page where the user can download the file from. So, basically the question is how can I get the user to essentially add their own page to the server? I want them to just be able to enter a description and upload a picture and then the server will take that info and make a .htm file out of it displaying the thumbnail and the description beside it. Quote Link to comment https://forums.phpfreaks.com/topic/10127-user-descriptions/ Share on other sites More sharing options...
litebearer Posted May 21, 2006 Share Posted May 21, 2006 pseudo code1. create database id user name user password path/name of user pic pic description/comment path/name of thumbnail2. create login/register page for users a. register new user b. exisitng user has option to (1) add pic (2) delete pic (3) add comment (4) edit commentI suggest...1. each user having own folder for pics/thumbs2. use sessions so that IF the person viewing a picture IS the original user then edit options are displayed; otherwise, only views are displayed.Lite.. Quote Link to comment https://forums.phpfreaks.com/topic/10127-user-descriptions/#findComment-37782 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.