YourPadre Posted August 14, 2009 Report Share Posted August 14, 2009 (edited) Sveiki tauta, Problēma tāda, ka šī funkcija nestrādā, jeb pārmet mani atpakaļ uz index.php, kaut vai $_SESSION["admin_username"] ir vērtība (pārbaudīju). Kods: function check_admin_login() { if (!isset($_SESSION["admin_username"])); { header("Location: index.php?error=1"); } } Paldies. Edited August 14, 2009 by YourPadre Quote Link to comment Share on other sites More sharing options...
YourPadre Posted August 14, 2009 Author Report Share Posted August 14, 2009 (edited) Pats sapratu :D function check_admin_login() { if (!isset($_SESSION["admin_username"]));<------------ Šitas man visu bojāja :D { header("Location: index.php?error=1"); } } Edited August 14, 2009 by bubu Lūdzu nevajag taisīt bezjēdzīgas QUOTEs Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.