在php和mysql中自动提醒 [英] Auto reminder in php and mysql

查看:65
本文介绍了在php和mysql中自动提醒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用php和mysql开发一个Web应用程序,该应用程序注册了

租用办公室的客户端。要说客户租用办公室一个月,开始和结束

日期在客户的个人资料中注册。

一切正常。但是我想要一个自动提醒的电子邮件发送给客户

就像结束日期前一周那个客户的个人资料。



仍然是PHP的新手,我认为这是可能的。

任何帮助都将受到赞赏。

I am developing a web app in php and mysql, the application registers clients that
rent offices. To say if a client rented an office for a month, the start and end
date is registered in the client's profile.
everything's working fine. But I want an auto-reminding email to be sent to the client
like a week before the end date which is in that client's profile.

Still new to PHP, and I think this can be possible.
Any help will be appreciated.

推荐答案

该机制被调用PHP中的Cron-Jobs。这应该有所帮助:

http://stackoverflow.com/ questions / 120228 / php-running-scheduled-jobs-cron-jobs [ ^ ]
The mechanism is called "Cron-Jobs" in PHP. This should help :
http://stackoverflow.com/questions/120228/php-running-scheduled-jobs-cron-jobs[^]


这篇关于在php和mysql中自动提醒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆