Hi,
1) Find if any birthdates match todays date. To do that you will need to run an
SQL query against the
DB and see if it matches todays date ( I guess that query allready is made in the module )
2) You need to send the result. That you can do by a mail() or what ever your server supports. This will have to go inside the if-test in 1) if ( dbdate == todaydate){ action goes here....
3) Here comes the issue... As
PHP is not runned by it self it needs to be activated. You can do this test in the module it self... to e.g check for birthday and write a 1 to a sent column or something. It will then be activated everytime someone uses the module ( the write to
DB will prevent multiple mailsendings). But what if no-one uses the module for a day ???? well, then no mails will be sent. You can ofcourse to a backwards test.... and send a delay congrats...).... The alternative is to run a cron job at a certain hour each day. This will be cleanest and with less code. It is however a bit more tricky as you will need cron on your server, and know how to set it. When this is said, it is not that hard ;)
All in all the answer is that what you seek is not hard to do... it will need some 10 lines+ of code.
Regs
StormS