Gossamer Forum
Home : Products : DBMan : Customization :

Re: uid password and image deletes

Quote Reply
Re: uid password and image deletes In reply to
Hi Carol,

Please accept my most humble apologies for harping on this issue again :-).

I have a possible 4 image entries plus 4 thumbnails. Your mod correctly deletes the files in the selected directory. As an example.

1001a.jpg
1001b_small.jpg
1001b.jpg
1001b_small.jpg
1001c.jpg
1001c_small.jpg
1001d.jpg
1001d_small.jpg
are correctly deleted leaving all other files intact, provided they do not start with 1001.

My problem is that each addition increments the counter file. The counter file is not decremented with each deletion. With multiple towns and agencies we could reach 9999 quite quickly, creating a potential double deletion problem. I could use 5 or even 6 digits as an ID, but I am concerned that all we are doing is delaying the problem. Given that the image names are associated with the ID I forsee a major maintenance nightmare if and when the limits are reached.

I was wondering how difficult it would be to actually extract the image names from the record and delete the actual file name. The field names are:

Image1 Image1t
Image2 Image2t
Image3 Image2t
Image4 Image4t

Your assistance would be greatly appreciated.

Tks &rgds
G
Subject Author Views Date
Thread uid password and image deletes handmade 4094 Sep 28, 1999, 9:28 AM
Post Re: uid password and image deletes
JPDeni 3971 Sep 28, 1999, 6:26 AM
Post Re: uid password and image deletes
handmade 3983 Sep 28, 1999, 8:16 AM
Post Re: uid password and image deletes
JPDeni 3964 Sep 28, 1999, 11:23 AM
Post Re: uid password and image deletes
handmade 3973 Sep 28, 1999, 6:58 PM
Post Re: uid password and image deletes
JPDeni 3978 Sep 29, 1999, 5:24 AM
Post Re: uid password and image deletes
handmade 3943 Sep 29, 1999, 6:02 AM
Post Re: uid password and image deletes
JPDeni 3978 Sep 29, 1999, 6:09 AM
Post Re: uid password and image deletes
JPDeni 3973 Sep 29, 1999, 8:11 AM
Post Re: uid password and image deletes
handmade 3959 Sep 29, 1999, 6:28 PM
Post Re: uid password and image deletes
handmade 3962 Sep 30, 1999, 9:55 PM
Post Re: uid password and image deletes
handmade 3955 Oct 1, 1999, 8:21 AM
Post Re: uid password and image deletes
JPDeni 4021 Oct 1, 1999, 8:41 AM
Post Re: uid password and image deletes
JPDeni 3969 Oct 1, 1999, 10:56 AM
Post Re: uid password and image deletes
handmade 3957 Oct 3, 1999, 3:04 AM
Post Re: uid password and image deletes
handmade 3945 Oct 17, 1999, 9:45 PM
Post Re: uid password and image deletes
JPDeni 3986 Oct 18, 1999, 11:59 AM
Post Re: uid password and image deletes
handmade 3972 Oct 18, 1999, 3:46 PM
Post Re: uid password and image deletes
JPDeni 3971 Oct 19, 1999, 6:29 AM
Post Re: uid password and image deletes
handmade 3989 Nov 1, 1999, 9:42 AM