PDA

View Full Version : Redirecting an included page?


FethrdWlf
03-27-2011, 07:36 PM
I have a login page included into the sidebar of my website. It's really simple, just a table with the login fields:
https://dl-web.dropbox.com/get/Public/fethrdwlfsite1.JPG?w=a0cd7dcf

When someone logs in, I would like for the login page - and only the login page - to be redirected to a new page that displays some more simple stuff (log out, post, etc.). How can I do this?

edbr
03-28-2011, 01:27 AM
its a conditional situation so
if (condition ie logged in) {include }
else ..........

FethrdWlf
03-28-2011, 02:09 AM
its a conditional situation so
if (condition ie logged in) {include }
else ..........

Could you please explain further in depth?

edbr
03-28-2011, 02:49 AM
if conditions apply ehn your defined criteria are met , so if you are ussing sessions to log in when the session is true then you display one event else is if not then display your second option