worldcomingtoanend Posted May 13, 2010 Share Posted May 13, 2010 How can i make the script below not work if the webmaster logs into the CMS and wishes to access the page directly without the script redirecting him or her to a log in screen BUt at the same time making it possible for the script to remain working as it is for web users. Thank you in advance for your help..... Code: [select] <?php session_start(); if (!(isset($_SESSION['girls']) && $_SESSION['girls'] != '')) { header('location: ../mygirls/index.html'); exit; } ?> 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.