Reply to Re: [PHP] send email at certain hour

Your name:

Reply:


Posted by Rory Browne on 06/25/05 20:26

That would depend a lot:

Using your PHP/Webserver alone wouldn't be the best way of doing
things - unless you have no other choice. If you do have a choice, I
would use cron on Unix, and task schecduler, on windos, as mentioned
above. You could use these schecdulers to call a PHP CLI script.

If cron/taskManager isn't available to you, then all you can really
do, is perhaps use the first request send after the certain time to
perform the task. For example if you choose to send an email at 2pm
and someone visits your site at 2:05(assuming nobody visited between
2:00 and 2:04), then the mail would be sent at 2:05. The problem with
this would be that if nobody visited your site until 10pm, then your
emails will be 8 hours late, and if nobody visits your site until 3
days later, then your emails will be three days late..........

On 6/25/05, vlad georgescu <startx@gmail.com> wrote:
> i want to make a "reminder" application which sends emails at certain hour
> in php. is this posibile ? if not, what else can I use ?
>
>

[Back to original 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

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