You are here: Re: check on reading webpage « PHP Programming Language « IT news, forums, messages
Re: check on reading webpage

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация