Gossamer Forum
Home : Gossamer Threads Inc. : Discussion :

File Upload Mod

Quote Reply
File Upload Mod
Hi,

i recently add the Jpdeni mod for file uploading.(for profile purposes). and its working fine... except i dont know why.. but when a user goes back into the modify screen and modifies their details and specifies to upload another graphic (ie uploads a jpg file instead of the gif file initially uploaded) the profile is updated but both files ***.gif and ***.jpg appear... where *** are common user ids

Please i need the script to be able to replace pictures in the database and not add to them...... NOTE when a similiar format is uploaded... say ***.gif... is replaced with ###.gif. the older file previously uploaded is retained.. instead of being replaced.... how do i get around this.. so that new files (irrespective of file type) will replace old ones....(ie overwrite old files already uploaded )

JP.... can you help me???

Quote Reply
Re: File Upload Mod In reply to
You are in the wrong forum...You should post your questions in the DBMAN Customization Forum.

Regards,

Eliot Lee
Quote Reply
Re: File Upload Mod In reply to
Yes, if you have any further questions along this line, please post them in the DBMan Customization forum. For a quick answer to your question, I've made some changes in the file upload mod that should work better. Pick up the mod again at http://www.jpdeni.com/...ods/file_upload2.txt and replace sub validate_upload.


JPD