it seems possible that this is the problem, you called it, "checkLoggedIn()" in your script then tried to call, "checkloggedin()". Notice the caps aren't there when you tried to call it.
Case does not matter for functions. Only for variable names.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php