I am hoping someone knows how to move an image file from one directory to another. This will be used in the validation/approval process, where the successful submission (uploaded file) will be transferred from a validation directory to the "real" directory. I am using the lowly Links2, but the process should be similar for most of the GT scripts. So far I have the image getting from the add form, through an upload validation sub (size, type, etc), and into the holding area. The image shows up in the validate/modify forms, so I can see what they uploaded.
Now I need to do the more complicated stuff, like unlinking if denied (easy enough), and moving the approved images to the correct location (harder). There is a field in the .db for the file name, so I don't have to keep track of extension variables (png, gif, jpg). Any help would be greatly appreciated!
Leonard
aka PerlFlunkie
Now I need to do the more complicated stuff, like unlinking if denied (easy enough), and moving the approved images to the correct location (harder). There is a field in the .db for the file name, so I don't have to keep track of extension variables (png, gif, jpg). Any help would be greatly appreciated!
Leonard
aka PerlFlunkie