blah said:
Quote:
|
These two seem conflicting to me. So arwe you using MySQL (or any kind of database) to store the image file path/names?
|
Thanks for the reply!
I AM using mysql (local WAMP setup) for the dat entry/retrieval part of the application, but not for the files. I'm okay on simple text inserting/selecting, but not on file management. I've got php Advanced Transfer Manager running for that. phpATM doesn't use mysql, it just uploads to a directory and makes a slug file containing some info about the file and keeps it in the same directory as the uploaded file. The script then lists all the files in that directory for download. No mysql connection even made.
What you're describing is exactly what I'm looking for... a snippet of code that will store image file path/names in a table and the query to list those files as download links.
I wanted to get this done before school starts again, but all the scripts I find for both file upload/download store in a flat table that I can't relate to my master_id. Hope this isn't too stupid of questions. I'm really not a programmer, but the more i learn about php, the more I want to know cuz its fun when you finally get something to work
