I have a PHP powered subscription membership site. What code would I use to detect whether or not a person is logged in, and if so, direct them to a members-only homepage?
The final result would be like this: If member is logged in, then they go to members-home.php. If they are not logged in, they go to guests-home.php
I am using aMember Pro membership software, if that helps any.
Any help would be greatly appreciated!
The final result would be like this: If member is logged in, then they go to members-home.php. If they are not logged in, they go to guests-home.php
I am using aMember Pro membership software, if that helps any.
Any help would be greatly appreciated!