Well, you have two options (using my reasoning!):

        1. Run a check script (surely every 10 minutes or more would be sufficient?)
using something like 'cron' that processes all 'just' closed auctions.

        2. Have a function that gets called every time any page is viewed that does
the checking and sends the e-mails out. This would slow down general page
processing, and means if pages aren't viewed, nothing will happen!

Daemon processes are nothing to be afraid of Marc, unless you're easily
frightened!

Thanks
Richard



-----Original Message-----
From: marc serra [mailto:[EMAIL PROTECTED]
Sent: 29 March 2004 16:09
To: [EMAIL PROTECTED]
Subject: [PHP] Send automatic emails


Hi,

 

I'm designing a bid system but at this time I got a problem to automatically
send an email at the end of a bid. The only solution I'm thinking is to
create a program that check every minute if a bid was finish and I would
have prefer not to develop another program.



If you have any solution or idea that could resolve my problem please let me
know,

 

Thanks,

 

Marc


==============================================================================
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==============================================================================

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to