Quote:
Originally posted by gopherhockey
Could it be some Win2k thing? I double checked the time on the server, its ok with correct time zone etc.
|
Let's try this:
Edit hack code and find:
PHP Code:
$n_year= date("Y", mktime (0,0,0, $n_month1, $n_day1, $n_year1));
After that add:
PHP Code:
echo "today is : $todays_date1<br><br>";
echo "last running time was : $last_action[leftdate]<br><br>";
if ($last_action) {echo "last action variable is set";} else {echo "last action variable is NOT set";}
exit;
and let's see what values the hack will return to you. You may need to refresh the main page a few times to get the results according to your $estimated_load setting (or lower it). You don't need to worry about users getting mails because code will exit after values are displayed..
Also run this query and tell me what does it return:
[sql]SELECT * FROM timetick WHERE action='birthday' LIMIT 1[/sql]