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,

Me again. Back with the image deletes. The mod you gave works well except if I have more than 10 images. I think you are deleting all files with the first character postition equal to the ID which is essentially correct, but when there are more than 10 images I end up deleteing record 11 12 13 14 etc. if I want to delete record 1. I can overcome this by starting the ID at 1000, which essentially means that I will need to get to 999 images before I start the problem. If I ever get to 999 images per agency per category it will be a miracle.

Ok so the problem is. Can I and if so how do I get to delete all files in the appropriate dir when the Id filed is 4 characters in length? Is it a change to:

$delete_list{$data[$db_key_pos]} = 0;

in the mod.

Thanks again Smile.
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 3963 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 3972 Sep 29, 1999, 8:11 AM
Post Re: uid password and image deletes
handmade 3958 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 3954 Oct 1, 1999, 8:21 AM
Post Re: uid password and image deletes
JPDeni 4020 Oct 1, 1999, 8:41 AM
Post Re: uid password and image deletes
JPDeni 3968 Oct 1, 1999, 10:56 AM
Post Re: uid password and image deletes
handmade 3956 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 3988 Nov 1, 1999, 9:42 AM