Ok... I have a sub-site that is all .doc word files and people can upload there own. Is there anyway to manage the files in a MYSQL table so I can delete, rename .exe.
Please Help Thanks.
MYSQL File Manager
Started by
Pbkilldezines
, Oct 29 2004 02:11 PM
2 replies to this topic
#1
Posted 29 October 2004 - 02:11 PM
#2
Posted 31 October 2004 - 11:48 AM
you can manage them in a database, but it'd be useless... as far as i know mySQL databases contain text/numbers not file info
get an ftp program like coreFTP and you'd be able to manage the files from there on a large scale
get an ftp program like coreFTP and you'd be able to manage the files from there on a large scale
#3
Posted 31 October 2004 - 12:31 PM
sure you can, when a user uploads a file just create a data insert in the table that has a unique id number, filename, and anything else you want to solve. Then when you want to delete something just use the unlink(); command and get the filename from the DB.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users