Storing Files
Posted: Thu Apr 09, 2009 10:14 am
Hi,
Just joined this forum, looks like it will be very helpful!
I'm a student and i have to do a project which i am doing in PHP.
I want to allow users to upload pictures and mp3 files and was just wondering what the best way to store these files is?
My guesses are either store the file directly in a database
Or store the files in a folder and store the location and or filename in the database?
Plus i don't think it's possible in PHP, but someone may have an idea of how to make a simple player for the mp3 files?
Cheers
Steve
Just joined this forum, looks like it will be very helpful!
I'm a student and i have to do a project which i am doing in PHP.
I want to allow users to upload pictures and mp3 files and was just wondering what the best way to store these files is?
My guesses are either store the file directly in a database
Or store the files in a folder and store the location and or filename in the database?
Plus i don't think it's possible in PHP, but someone may have an idea of how to make a simple player for the mp3 files?
Cheers
Steve