hello friends,
im a php developer,
am buliding a online memorial site.where the customers will register their Date of birth in a registration form .it will probe through mysql db.and i hav to send a mail for their birthday wishes in forcoming years automatically from php scripts..is it possibel..

give solution
my task:
i hav to send email for my customers automatically in their Date of birth which i hav in my mysql db using php codings.
plz give me a clear solution

Recommended Answers

All 5 Replies

You can do it in 2 ways. Configure a cron job to run everyday at a certain time and send out mails if there are any records for that particular date. The other way is to write a script and execute it manually everyday.

thanks alot !
could u tell me the first option using cron concept...

Umm.. I haven't used crons.. But this can be of some use to you on how to run crons. http://www.modwest.com/help/kb5-125.html
Note: You need linux to run cron jobs.

yah thnx alot i found out its working....

Awesome!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.