steviez Posted September 17, 2009 Share Posted September 17, 2009 Hi, I have made a script to keep track of my domains and need it to email me 2 weeks before a domain expires. How would i do this in php? I have the email bit sorted i just need to figure out how to tell when its 2 weeks before the expire date. My expire dates are stored like: 28-11-2007 and i use strtotime() to convert them to unix time. Any help would be great! Thanks Link to comment https://forums.phpfreaks.com/topic/174610-expire-notice/ Share on other sites More sharing options...
p2grace Posted September 17, 2009 Share Posted September 17, 2009 All you really need to do is write a php script that checks for values that will expire in 2 weeks and send an email notice. Then create a cron job that automatically runs the php script on a daily basis. Link to comment https://forums.phpfreaks.com/topic/174610-expire-notice/#findComment-920369 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.