Okay, here is what i'm doing..
I have form where the user can upload a file.
on that page, is also a listing of all the files in that dir (just using php to do that). Now what I want is the user to be able to enter a description of that file as well, and print that out next to each file name. I'm thinking mysql would be the best way to do that, however, my problem is, i don't want to store the file itself in the mysql database. Is there a way to do this in MySQL? So when a user uploads a file via the form and enters description, it would somehow insert into a table that description, plus just a link to where the file is?
or is there someway just using php i can do this?
I have form where the user can upload a file.
on that page, is also a listing of all the files in that dir (just using php to do that). Now what I want is the user to be able to enter a description of that file as well, and print that out next to each file name. I'm thinking mysql would be the best way to do that, however, my problem is, i don't want to store the file itself in the mysql database. Is there a way to do this in MySQL? So when a user uploads a file via the form and enters description, it would somehow insert into a table that description, plus just a link to where the file is?
or is there someway just using php i can do this?