I very new to these but I know they are the first line of code you can run in your script.....
I have a page which i want to protect.... i have a base template and all my meus are added via include.... how does this work?
if I run a session thing at the start and if i'm not logged in i want to display the menus but with the signup page or something... maybe a redirect.... but if i am logged in then show the correct information...
the only way i can think of doing it is
session thing at the start then mid code..
if logged in = false
then include signup.php
else show correct page
??? any ideas