i have worked out all my login stuff, now im just restricting access to a link on the main page as a test, the link does not appear which is brill but when i try to login or anything the pages do not load...
if i take out the line of code checkLogin ( '1' ); the page loads fine as do any others
this was taken from where i am hiding code.
<?php
require_once('settings.php');
checkLogin ( '1' );
?>
this is the full block of code... any ideas people?