RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 307 | 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,098
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 9
Solved Threads: 240
nav33n's Avatar
nav33n nav33n is offline Offline
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,098
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 9
Solved Threads: 240
nav33n's Avatar
nav33n nav33n is offline Offline
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,098
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 9
Solved Threads: 240
nav33n's Avatar
nav33n nav33n is offline Offline
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)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:25 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC