PHP Classes
elePHPant
Icontem

PHP Event at Date: Execute action when a given date is reached

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-08-28 (11 days ago) RSS 2.0 feedNot enough user ratingsTotal: 232 This week: 21All time: 7,824 This week: 48Up
Version License PHP version Categories
event-at-date 2.0.0Custom (specified...5PHP 5, Time and Date
Description Author

This class can execute action when a given date is reached.

It takes a date of a scheduled event and a callback function that should be called when the current day is the specified date.

The class logs to a file a message when the current date matches the event date.

  Performance   Level  
Name: zinsou A.A.E.Moïse <contact>
Classes: 45 packages by
Country: Benin Benin
Innovation award
Innovation award
Nominee: 17x

Winner: 2x

Details
Eventatdate class is a really simple way to make one of your PHP apps 
users  launch once a predefined action when they come on your website.
For example: 
imagine that you want to tell the user who connects at a precise date and time to your website that he is the happy winner of the gift of the day.
All you have to do is to add this little script where you want action 
to be lauched and all is done...
The class use a file log to control whether or not action needs to be launched.

For a how to use example see the testevent.php file.

Bug reporting to leizmo@gmail.com or simply use the 
dedicated forums to ask your questions...
  Files folder image Files  
File Role Description
Plain text file eventatdate.class.php Class eventatdate class
Accessible without login Plain text file license Lic. license
Accessible without login Plain text file readme Doc. readme
Accessible without login Plain text file testevent.php Example example script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:232
This week:21
All time:7,824
This week:48Up