Hi, I have this almost working. My problem is the path is included in the database when I just need the file name (the path included in the seript that displays the image and there are already hundreds in the the database.)
I use "/CartTwo/headerimage/" to fill out the upload folder and this works properly - the file is uploaded to the right directory.
But I leave Filename blank, so "/CartTwo/headerimage/myphoto.jpg" is inserted in the database. I just want "myphoto.jpg" in the database. So what should I put for filename?
thank you, Shelly |
|
|