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

Willing to pay $25 for delete after x hrs script

Quote Reply
Willing to pay $25 for delete after x hrs script
Please help.

I need a simple delete username ater x amount of hrs. script.

Please reply as soon as possible.

Thanks

David
Quote Reply
Re: [webwizzz] Willing to pay $25 for delete after x hrs script In reply to
What version of Links are you using? (I'm assuming you are using links)

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] Willing to pay $25 for delete after x hrs script In reply to
It's nothing to do with Links. It's to do with removing usernames from .htpasswd
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.
Quote Reply
Re: [AndyNewby] Willing to pay $25 for delete after x hrs script In reply to
BTW...to clickbank members:

I wrote some code to use the clickbank security procedure of creating a random code and passing it to clickbank and then retrieving it to check the purchase is valid.

If anyone is having trouble figuring out how to do it then you can have a copy of the code.

You can email pwilson@wiredon.net



Quote Reply
Re: [RedRum] Willing to pay $25 for delete after x hrs script In reply to
I would like to tahnk you all for you help.

But some one else has offered to help me.

The only problem is, how do I remove this POST on GT Forum.

Thanks

D A V I D

Ps.
In Reply To:
"No, I'm not going to explain it. If you can't figure it out, you didn't want to know anyway..."
-- Larry Wall in <1991Aug7.180856.2854@netlabs.com>
What did you mean by this RedRum?
Quote Reply
Re: [webwizzz] Willing to pay $25 for delete after x hrs script In reply to
That's Pauls signature. It's a quote from Larry Wall, a very important figure in Perl.
Lavon Russell
LookHard Mods
lavon@lh.links247.net
Quote Reply
Re: [Bmxer] Willing to pay $25 for delete after x hrs script In reply to
Important figure is an understatement. He is the father of Perl.

http://www.wall.org/~larry/

Paul: Try putting some geek code in your signature. Or try and do a good geek code yourself. Hmm, been hanging around usenet too long again. <g>.

Every Perl Junkie seems to have his or her geek code. It's like their fingerprint on their posts, code etc.

Last edited by:

Wil: Oct 15, 2001, 3:44 AM
Quote Reply
Re: [Wil] Willing to pay $25 for delete after x hrs script In reply to
Well I actually used to have a code signature that was linked to a signature PerlFreak had but unfortunately quite a few people (including regular links users), kept getting confused thinking I was providing code samples....Crazy

Last edited by:

RedRum: Oct 15, 2001, 3:50 AM
Quote Reply
Re: [RedRum] Willing to pay $25 for delete after x hrs script In reply to
ROLF!

[ edit : ROFL! even ]

Last edited by:

Wil: Oct 15, 2001, 3:54 AM
Quote Reply
Re: [Wil] Willing to pay $25 for delete after x hrs script In reply to
Thought you were chanting the name of the living legend Mr Harris :)
Quote Reply
Re: [Wil] Willing to pay $25 for delete after x hrs script In reply to
alright Wil, i'll now refer to him as the father of perl.
Wink
Lavon Russell
LookHard Mods
lavon@lh.links247.net
Quote Reply
Re: [Bmxer] Willing to pay $25 for delete after x hrs script In reply to
Wink

- wil
Quote Reply
Re: [webwizzz] Willing to pay $25 for delete after x hrs script In reply to
I may need a similiar type of script down the road.....my question is: Would this sort of script delete the user after a set number of hours only OR would it delete after a set number of hours used?....would the second option be difficult to implement?.......it would be my desire to allow a user a specific number of cumulative hours of access only.
Quote Reply
Re: [Stevo] Willing to pay $25 for delete after x hrs script In reply to
The script would run by cron job on the server.

Cron job automaticly runs a sepcific file on the web server every x amount of minutes, hours, days, weeks etc.

I hope this helps.

Also, it does delete the users after x amount of hrs.

D A V I D
Quote Reply
Re: [webwizzz] Willing to pay $25 for delete after x hrs script In reply to
Many Thanks,
Stevo