I want to have a guest directed after logging in to a page called "Information" while all other users automatically open a page called "Register". How do i achieve this?
I want to have a guest directed after logging in to a page called "Information" while all other users automatically open a page called "Register". How do i achieve this?
I have now solved this by the following. if ($_SESSION["AccessLevel"] == ACCESS_LEVEL_GUEST) {