Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I am creating a website,i have a criteria that each user has to create his own site.User has to upload his/her videos,photos and personal data.
Please do help for me?
Posted
Updated 16-Aug-11 21:49pm
v2

1 solution

So you're going to need a unique user ID. The user signs in and the user id will be retrieved - you will then need to use this ID for all subsequent uploads, so that videos \ photos \ data is all stored in the database with the user ID. This will let you retrieve content from the database just for a user

Think of Facebook \ MySpace, this is how you are directed to unique pages with the content for that user.

e.g

1) URL like...
http://www.somesite.com?userid=123456

(or rewritten like http://www.somesite.com/dylanmorley)

2)
You lookup the user id, then retrieve all information from the database for that user (photo\videos\whatever)

3) Render page!
 
Share this answer
 
Comments
Dylan Morley 17-Aug-11 5:04am    
Nope sorry, I don't get into email discussions.

Post questions on this site, people will be happy to help. But show some initiative, try first - then ask specific coding questions about problems you can't solve rather than 'I want a website, how do i do that?'

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900