Using php to see if user is logged in?

t3po7re5

New member
I'm trying to write a php script that displays the home page of a site. If the user is logged in it displays the user's personal page if not then it displays a page with different content but the same url. How would I do that?
 
Back
Top