Gossamer Forum
Home : Products : DBMan : Customization :

Re: uid password and image deletes

Quote Reply
Re: uid password and image deletes In reply to
You know, on second thought, I don't think there's a problem at all, except that you do need to use a 4- or 5-digit ID number.

The line

if ($file =~ /^$rec{'ID'}/) {

just looks to see if the filename begins with the same characters as the value of $rec{'ID'}. It doesn't matter how many characters there are.

The line

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

just is a flag to keep track of the records that have been deleted.

Yes, you are correct that, if you delete all files that are named 1*, you will delete 12*, 105*, 10746*, etc.



------------------
JPD





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 3979 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 3972 Oct 19, 1999, 6:29 AM
Post Re: uid password and image deletes
handmade 3989 Nov 1, 1999, 9:42 AM