I've been searching for the best way to store images that would be 
used in a dynamic site. In this situation, a site admin would upload 
images via a php script. Obviously this creates several problems.

To prevent naming problems, I have php name all the uploaded images 
and store the name in a mysql db. Then, when needed, php will query 
to get the name and insert the image name into the image tag. This 
has always seemed like an incomplete solution because it's hard to 
manage the files later.

Using mySQL to do the whole thing is appealing. I've never tried 
storing the actual data in my mysql db. It seems like it would be too 
slow to query, transfer, and passthru.

Does anyone have any wisdom on this subject?


-- 
Jim Musil
---------
Multimedia Programmer
Nettmedia
-------------
212-629-0004
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to