Posted on: 02/07/02 07:43pm
By: squatty
I have some pages on my site (pages, not blocks) that I would like to only make accessible to registered users. If a user is not logged in they would be redirected to the registration page or a please register to see this page. If a user is logged in they would then get the page they requested.
Can anyone point me at the Geeklog code that would help with the above scenario?
Thanks,
Danny
Posted on: 02/08/02 08:27am
By: Tony
if (!($_USER['uid'] > 1)) {
echo COM_refresh('url_to_some_other_page');
}
-----
The reason people blame things on previous generations is that there's only one other choice.
Posted on: 02/11/02 10:17am
By: squatty