Two questions:
1. The file upload seems to work fine, however, if you originally had a .gif file, and subsequently upload a .jpg file, the .gif file remains, and as it is the first to be hit in the loop to see if there is a graphic corresponding to the userid, it remains. Is there a way to ensure that the first file is eliminated, regardless of the file format of the subsequent uploads?
2. I have the $rec{'Modified'}=&get_date;
line which updates my Modified field when the record is changed; where and how would I implement that to also update Modified when a graphic is successfully uploaded?
PS I noted at the end of the upload thread (where I probably should have posted this in the first place) that you have a new version as of today (6/8) While what you sent me seems to be working fine for me, I did get an e-mail from someone else trying to upload a .jpg file that he got a cgi error. I asked him to try to reproduce it and send me the error message. Are there any changes in your newest version that I need?
thanks
David
[This message has been edited by dperkins (edited June 08, 1999).]
1. The file upload seems to work fine, however, if you originally had a .gif file, and subsequently upload a .jpg file, the .gif file remains, and as it is the first to be hit in the loop to see if there is a graphic corresponding to the userid, it remains. Is there a way to ensure that the first file is eliminated, regardless of the file format of the subsequent uploads?
2. I have the $rec{'Modified'}=&get_date;
line which updates my Modified field when the record is changed; where and how would I implement that to also update Modified when a graphic is successfully uploaded?
PS I noted at the end of the upload thread (where I probably should have posted this in the first place) that you have a new version as of today (6/8) While what you sent me seems to be working fine for me, I did get an e-mail from someone else trying to upload a .jpg file that he got a cgi error. I asked him to try to reproduce it and send me the error message. Are there any changes in your newest version that I need?
thanks
David
[This message has been edited by dperkins (edited June 08, 1999).]

