Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2014
    Thanked 0 Times in 0 Posts

    Question PHP Login Public View Problem

    Hey guys, so I'm new in PHP and i just started learning and I'm having a problem on PHP code for Log in.

    So my question is, when there is a log in button or just text on the all the webpages and when you log in (ex. placed on the top right of the site), how do you make the log in button as log out, when an admin or a user logs in? or make the main navigation menu change (ex. adding a User Home or Menu, Profile, etc...)?

    Thanks for the help.

  2. #2
    Regular Coder
    Join Date
    Sep 2002
    Thanked 27 Times in 26 Posts
    For most it's two sets of scripts. One for the public view and one set in an administration directory for admins. Admins usually get redirected to admin directory files at login.
    NO Limits!! DHCreationStation.com
    For projects using MediaTypes (MIMETypes) visit E-BAM.net -(updated weekly)

    Broken items wanted for tinkerin'! PostItNow@BrokenEquipment.com
    Global Complaint Dept.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts