PHP/HTML Question. How to change frame after login?

Discussion in 'PHP' started by tomsign, Jul 16, 2010.

  1. #1
    Hi.. friend,


    I have a small login script written in PHP, everything in that regard is written. The Login is in one frame on top.

    However, when the user logs in I want another frame to display a set of links only available to those logged in.

    How can I do this .

    thanks :cool:
     
    tomsign, Jul 16, 2010 IP
  2. bpasc95

    bpasc95 Active Member

    Messages:
    196
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    70
    #2
    You will likely need to use JavaScript to do this correctly. Depending on your login handler, you can use the session state or Apache login state to determine if logged in or not for the other panel.
     
    bpasc95, Jul 16, 2010 IP