I just created an profile site, that lets every registred user enter their own profile. At the time it shows email and username.
I also created an file uploader that saves filename in a SQL table and saves the file to a folder, there is also a file list so you can see every file that has been uploaded and the option to download it down again.
Now I want to connect this two thing in some way, so when you login to your userprofile, you will be able to upload a file to the folder and display them directly in your profile. But of course the only ones you uploaded, not from every user.
I bet there is a method to do this, but since I’m a newbe I really dont know how to begin. So if someone has some tips, or maybe a method that’s somewhere on the internet I’ll be a happy noob 🙂
thanks
Just in sql table for files add field of user id. Each time that users upload they files, they id will be stored in this table to. When User login You should select only files with this user id