> if(!session_is_registered("UserID"))
> {
>   header("Location: login.php");
> }
>
> else
> {
>     ... some other stuff, if user is logged in...
> }

again....this must be put before there is any ouput to the page. Before
<html> or even a blank space. This includes any files that are included
before this point.

---John Holmes...


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to