when i try to logout it works but i get this error too:
Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in /home/domains/public_html/index.php on line 10
Script:
on line 10 is session destroy... If you need more ingo, ask. ThanksPHP Code:if($_GET['act'] == 'logout') {
echo '<center><font color="Green">Sėkmingai atsijungėte.</font></center>';
session_unset();
session_destroy(); // remove the entire session



Reply With Quote

Bookmarks