Results 1 to 3 of 3

Thread: People Online

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    56

    People Online

    Hi, does anyone know of a tutorial which shows how you can list the names of people online, just like this forum; Browsing this forum...blah blah blah and 5 guests?...Oh yeah, in PHP please, also, i am a beginer, never done PHP beore!

    Thanks

    Dave

  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    the easiest way to do this is to get the users browser session and store it in the db, then if they are a member they get a column in that db set to there userid then query the db and it will get all the user id and the non user id's.

    if you have never done this than I suggest you start reading the manual at php.net

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: People Online

    Originally posted by Dunghill_Dave
    Hi, does anyone know of a tutorial which shows how you can list the names of people online, just like this forum; Browsing this forum...blah blah blah and 5 guests?...Oh yeah, in PHP please, also, i am a beginer, never done PHP beore!

    Thanks

    Dave
    My recommendation would be: start with an easier project and learn PHP first.

    When you go into engineering, you don't build a car on the first day, do you?
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

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



Click Here to Expand Forum to Full Width