Forums
This topic is locked
List images from directory for insert
Posted 25 Oct 2002 02:38:13
1
has voted
25 Oct 2002 02:38:13 Randy Huitema posted:
I have a site that has many images so it is broke into several sub directory. I would like to be able to upload image files into the appropriate sub directory and then have one insert page where I can pull from the main root directory, a list of all the files ( including directory name ) and insert that into the recordset. This would be the reference in my MySQL DB for the image.This would allow me to insert something like;
images/sub1/filename.jpg
I have used PureASP Upload before, but it is not supported with my ISP ( Linux with Chilisoft)
Thanks for any help.
Replies
Replied 25 Oct 2002 20:01:19
25 Oct 2002 20:01:19 Ned Frankly replied:
A solution to a problem similar to yours was posted within the last week or so. Look for 'display all images from specified folder'. It should be about 10 posts below this one.
Just a reminder - please search the forum before asking for help. Quite often your question has already been answered for someone else.
Ned Frankly
Just a reminder - please search the forum before asking for help. Quite often your question has already been answered for someone else.
Ned Frankly
Replied 28 Oct 2002 13:24:18
28 Oct 2002 13:24:18 nigel burkinshaw replied:
mine was the original post and i havent' had time to incorporate your answer into a site for testing but i must thank you for what is a very neat solution!
Replied 28 Oct 2002 13:24:19
28 Oct 2002 13:24:19 nigel burkinshaw replied:
mine was the original post and i havent' had time to incorporate your answer into a site for testing but i must thank you for what is a very neat solution!
Replied 28 Oct 2002 15:46:38
28 Oct 2002 15:46:38 Ned Frankly replied:
Always glad to help. I think it's pretty nifty, too. Works well for when you have FTP access to a site but don't have the ability to do a web-based upload that will relate images to table records.
Ned Frankly
Ned Frankly
Replied 28 Oct 2002 16:30:02
28 Oct 2002 16:30:02 Ned Frankly replied:
I just realized that you are using Chili!Soft (so much for Ned thoroughly reading the question before answering, huh?) - SpicePack is now a part of Chili!Soft, and includes a file upload component.
It does require that you take care with the authority granted to the upload folder, so your ISP may consider it a security risk (improperly implemented, it IS a security risk). I'd ask them for their policy on it.
Ned Frankly
It does require that you take care with the authority granted to the upload folder, so your ISP may consider it a security risk (improperly implemented, it IS a security risk). I'd ask them for their policy on it.
Ned Frankly