zapomniałeś
; 
<?php
}
?>
zaraz zobaczę czy działa
no więc mam tak:
Cytat
if(session_cache_expire() + 2 < time()) {
session_cache_expire(time() + 2);
} else {
$zalogujDB = mysql_query("UPDATE kt_admin SET zalogowany=0 WHERE login='".$_SESSION['login']."'");
$_SESSION['auth'] = FALSE;
session_destroy();
}
i nie działczy
nawet jak dam tylko twój kod to wyskakuje:
Cytat
Strict Standards: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /apache/apache-common/virt/virtuals/virt-645341/kt/engine/data.php on line 14 Strict Standards: strftime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /apache/apache-common/virt/virtuals/virt-645341/kt/engine/data.php on line 57 25 marca 2008 Strict Standards: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /apache/apache-common/virt/virtuals/virt-645341/kt/engine/head.php on line 113 13:38
i
Cytat
Strict Standards: mktime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /apache/apache-common/virt/virtuals/virt-645341/kt/engine/online.php on line 20 Strict Standards: mktime(): You should be using the time() function instead in /apache/apache-common/virt/virtuals/virt-645341/kt/engine/online.php on line 20 Strict Standards: mktime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /apache/apache-common/virt/virtuals/virt-645341/kt/engine/online.php on line 22 Strict Standards: mktime(): You should be using the time() function instead in /apache/apache-common/virt/virtuals/virt-645341/kt/engine/online.php on line 22 Strict Standards: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /apache/apache-common/virt/virtuals/virt-645341/kt/engine/online.php on line 23 online: 1