Auto Notification Function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alexmaster_2004
Forum Commoner
Posts: 35
Joined: Wed Sep 14, 2005 8:44 am

Auto Notification Function

Post by alexmaster_2004 »

Hi All
i work now on a new web site and i have faced a problem with it.
this site will sell some products and i want to add an auto notification function to inform users when the product's expiration date is coming up, say 10 days before product expiration date.
i don't know how i could implement this.
so i hope if anyone could help me.
Thanks in Advance
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post by foobar »

Cronjob.
alexmaster_2004
Forum Commoner
Posts: 35
Joined: Wed Sep 14, 2005 8:44 am

Post by alexmaster_2004 »

Hi
Thanks for reply.
but how i could do this using php and mysql :?
i want this operation to be dynamic.
Hope you could help
Thanks
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post by foobar »

I don't know what you mean by dynamic, but I've suggested something in another thread a few days ago:

viewtopic.php?t=40504&highlight=cronjob

Read my latter replies as well, where I explain the drawbacks of using php to achieve this.
Post Reply