gathos Posted November 28, 2008 Share Posted November 28, 2008 now I know php is a server side programming language - meaning that all processing is done on teh server then results displayed on the client side. what i want to know is how you would go about making a script (and if possible in php) that would allow me to automaticly email my customers in a database, every six months. i have searched google, and well i think i might be googlitis deficiant. can anyone point me to some good links that might help? or possible something on php.net that could direct me in the right way? thanks later days. gathos Quote Link to comment https://forums.phpfreaks.com/topic/134578-solved-php-auto-emailer-possible/ Share on other sites More sharing options...
DarkWater Posted November 28, 2008 Share Posted November 28, 2008 You'd use a cron job. Quote Link to comment https://forums.phpfreaks.com/topic/134578-solved-php-auto-emailer-possible/#findComment-700740 Share on other sites More sharing options...
gathos Posted November 28, 2008 Author Share Posted November 28, 2008 thanks, i'll check that out. Quote Link to comment https://forums.phpfreaks.com/topic/134578-solved-php-auto-emailer-possible/#findComment-700742 Share on other sites More sharing options...
chmpdog Posted November 28, 2008 Share Posted November 28, 2008 If you could post the code you found that would be appreciated, because I need this one too. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/134578-solved-php-auto-emailer-possible/#findComment-700753 Share on other sites More sharing options...
DarkWater Posted November 28, 2008 Share Posted November 28, 2008 Let me help you out then. cron is a unix utility that runs commands at a given time. You'd use a cron that looks like this to e-mail someone every 6 months: 0 0 0 0 6/12 php /path/to/your/script.php Google cron syntax for more info if you need it. Quote Link to comment https://forums.phpfreaks.com/topic/134578-solved-php-auto-emailer-possible/#findComment-700759 Share on other sites More sharing options...
chmpdog Posted November 28, 2008 Share Posted November 28, 2008 Will do, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/134578-solved-php-auto-emailer-possible/#findComment-700782 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.