|
Posted by Steve Hicks on 11/21/06 09:09
On Nov 21, 3:58 am, "rukkie" <ruk...@belgacom.net> wrote:
> So far no problem, but now I'm looking for a system that can check the
> readflag in the MySql database let us say, every week, and send a mail
> to all persons which still have not read the page.This process should
> go on until all persons listed in the database have read the page. Does
> anyone know how this can be implemented ?
Maybe I don't understand the question, but it seems like there are a
number of options. If you have the correct access on your server, you
could set up a cron job to run a PHP script at a certain time each week
which does the mailing. If not, as far as I know, you can really only
trigger the event by somebody loading a PHP script via the 'net. You
could make a page which only you can load (password/account protected),
and just make sure you do it every week. My preferred option in this
case is to check the date each time anyone loads the page. As long as
you get more than a few hits a week, and if you don't mind the email
being a bit irregular, then you could wait for the first person to log
in after a given time each week and launch the mailing process.
But I'm a relative novice and I'm sure there are better ways - anybody
else?
-steve hicks
Navigation:
[Reply to this message]
|