Hi
i got this function below it works with an include but not when i put in a header location, have i wrote it wrong?
<? function session_checker(){ if(!session_is_registered('first_name')){ header("location: log_in.htm"); exit(); } } ?>
are you getting errors, if so, put
<? ob_start(); ?>
at the very top of the page
cheers stolzyboy, that works