YourPadre Posted August 14, 2009 Report 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
YourPadre Posted August 14, 2009 Author Report 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
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.