<?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();
|