User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 374,163 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,275 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 202 | Replies: 5 | Solved
Reply
Join Date: May 2008
Posts: 3
Reputation: anandbabukumar is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
anandbabukumar anandbabukumar is offline Offline
Newbie Poster

need php codings for my task!

  #1  
May 8th, 2008
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,042
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 227
nav33n's Avatar
nav33n nav33n is online now Online
Posting Sensei

Re: need php codings for my task!

  #2  
May 8th, 2008
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.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

*PM asking for help will be ignored*
Reply With Quote  
Join Date: May 2008
Posts: 3
Reputation: anandbabukumar is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
anandbabukumar anandbabukumar is offline Offline
Newbie Poster

Re: need php codings for my task!

  #3  
May 8th, 2008
thanks alot !
could u tell me the first option using cron concept...
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,042
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 227
nav33n's Avatar
nav33n nav33n is online now Online
Posting Sensei

Re: need php codings for my task!

  #4  
May 8th, 2008
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.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

*PM asking for help will be ignored*
Reply With Quote  
Join Date: May 2008
Posts: 3
Reputation: anandbabukumar is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
anandbabukumar anandbabukumar is offline Offline
Newbie Poster

Re: need php codings for my task!

  #5  
May 9th, 2008
yah thnx alot i found out its working....
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,042
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 227
nav33n's Avatar
nav33n nav33n is online now Online
Posting Sensei

Re: need php codings for my task!

  #6  
May 9th, 2008
Awesome!
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

*PM asking for help will be ignored*
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Other Threads in the PHP Forum

All times are GMT -4. The time now is 3:50 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC