View Single Post
Old 06-10-2008, 03:53 AM   #1 (permalink)
sarmenhb
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default uploading documents and pdfs

if i have a webpage with the ability for hundreds of people to login and each upload their own specified document,pdf etc. then be able to see what they uploaded on their profile. how will or can this be done? if the files are uploaded to a directory how can i tell php to know which file belongs to which person by just renaming a file? what if files colide ?

the other thing i was thinking of having these files sent to mysql database and if i did do that what are the chances of the database failing?

and how would i design the table for this?


maybe something like this??

Code:
table: upload files

columns:

id
file upload1
file upload 2

etc....
but then what if they uploaded more than one file , maybe 100ths of them. how will this table be design to hold such data for each individual person?

im confused..


thanks for any help :)
__________________
no signature set
sarmenhb is offline  
Reply With Quote