Gossamer Forum
Home : Gossamer Threads Inc. : Custom Modification Jobs :

Re: [webwizzz] Willing to pay $25 for delete after x hrs script

Quote Reply
Re: [webwizzz] Willing to pay $25 for delete after x hrs script In reply to
When the customer pays with clickbank, append the seed code to a file with the time()

eg....

TER76RW|100011143

Then you'd need a cron script that would do something like....
Code:
open H, "</path/to/logfile" or die $!;
while (<H>) {
chomp;
($rand,$time) = split /\|/;
((time() - $time) >= 86400) and _delete($rand);
}
Then sub _delete would delete the $rand user/pass from the .htpasswd file.

That's just a quick idea.
Subject Author Views Date
Thread Willing to pay $25 for delete after x hrs script webwizzz 8246 Oct 11, 2001, 6:41 PM
Thread Re: [webwizzz] Willing to pay $25 for delete after x hrs script
Andy 8024 Oct 12, 2001, 6:53 AM
Post Re: [AndyNewby] Willing to pay $25 for delete after x hrs script
Paul 7924 Oct 12, 2001, 6:59 AM
Thread Re: [AndyNewby] Willing to pay $25 for delete after x hrs script
Paul 7972 Oct 12, 2001, 7:11 AM
Thread Re: [RedRum] Willing to pay $25 for delete after x hrs script
webwizzz 7995 Oct 12, 2001, 8:40 AM
Thread Re: [webwizzz] Willing to pay $25 for delete after x hrs script
Bmxer 7933 Oct 13, 2001, 10:25 AM
Thread Re: [Bmxer] Willing to pay $25 for delete after x hrs script
Wil 7921 Oct 15, 2001, 3:39 AM
Thread Re: [Wil] Willing to pay $25 for delete after x hrs script
Paul 7939 Oct 15, 2001, 3:50 AM
Thread Re: [RedRum] Willing to pay $25 for delete after x hrs script
Wil 7938 Oct 15, 2001, 3:53 AM
Post Re: [Wil] Willing to pay $25 for delete after x hrs script
Paul 7862 Oct 15, 2001, 5:35 AM
Thread Re: [Wil] Willing to pay $25 for delete after x hrs script
Bmxer 7898 Oct 15, 2001, 6:22 AM
Post Re: [Bmxer] Willing to pay $25 for delete after x hrs script
Wil 7865 Oct 15, 2001, 6:24 AM
Post Re: [webwizzz] Willing to pay $25 for delete after x hrs script
Paul 7959 Oct 12, 2001, 7:04 AM
Thread Re: [webwizzz] Willing to pay $25 for delete after x hrs script
Stevo 7798 Nov 18, 2001, 12:50 PM
Thread Re: [Stevo] Willing to pay $25 for delete after x hrs script
webwizzz 7828 Nov 19, 2001, 12:19 PM
Post Re: [webwizzz] Willing to pay $25 for delete after x hrs script
Stevo 7793 Nov 19, 2001, 1:51 PM