Results 1 to 2 of 2
  1. #1

    PHP Login Script?

    Hi,

    I have a menu set up for a site which is included using PHP into the rest of the site, however, I'd like to have a login box in the menu so that when someone logs in, the box changes to a menu just for people who are logged in...

    i.e.

    Stuff 1
    Stuff 2
    Login

    Changes to

    Stuff 1
    Stuff 2
    Stuff 3

    However, the menu needs to be included into the rest of the site... I /could/ do it in JSP, but I can't 'cause my host doesn't support JSP And I love my host... Cookies are the best idea I feel, but I don't know where to start...

    ~Ryuu...

  2. #2
    Join Date
    Jul 2003
    Location
    Kuwait
    Posts
    5,099
    You should start looking at sessions

    http://www.php.net/session
    In order to understand recursion, one must first understand recursion.
    If you feel like it, you can read my blog
    Signal > Noise

Posting Permissions

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