Greetings, all. I have a directory with images, of which I need to place the file names in a column in a MySQL db. There are two files for every image:
image.jpg and image_t.jpg (the thumbnail for image.jpg)
What I would like to do is strip the file extension (as well as the '_t.jpg') from the filenames, and just enter the 'root' filename (image). This way I have only one db entry per image pair.
Can anyone help me with this?
[This message has been edited by rainmaker (edited July 03, 2000).]