PHP Classes

File: testevent.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse   PHP Event at Date   testevent.php   Download  
File: testevent.php
Role: Example script
Content type: text/plain
Description: example script
Class: PHP Event at Date
Execute action when a given date is reached
Author: By
Last change: test for the new version 2.0.0
Date: 5 years ago
Size: 462 bytes
 

Contents

Class file image Download
<?php
require_once('./eventatdate.class.php');
function
test(){
    echo
'you are the happy winner of the day call +00220022155418 to claim your gift ';
    return
true;
}
echo
'<pre>';
$date=date('Y-m-d H:i:s');//it's just for making this work for you the first time you launch the script you can choose you own date but respect this format
$exemple=new eventatdate($date,'test','filelog.txt');
var_dump ($exemple);
$exemple->eventapply();