Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: users online

  1. #1
    Join Date
    Nov 2007
    Posts
    346
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default users online

    Does anyone know where I could get a users online script, where it shows the number of visitors surfing the site.

    Thanks!!

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I could make one if you would like.
    But I would need to know if you wanna use files, or databases.
    Jeremy | jfein.net

  3. #3
    Join Date
    Nov 2007
    Posts
    346
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Which one is better? I'll use the one that's better.

    Thanks a lot!

  4. #4
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    A database would be waaaay better and easier (or so I think), and you could branch off into other features using it.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  5. #5
    Join Date
    Nov 2007
    Posts
    346
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ohh cool, do you know where I could get one?

    Thanks!

  6. #6
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Why not build it yourself? It would help you become a better coder.
    http://www.combined-minds.net/tutori..._system_in_PHP
    It does take some time to get it right, but be patient. You'll be happy and better off when you finally get it.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  7. #7
    Join Date
    Nov 2007
    Posts
    346
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks!

  8. #8
    Join Date
    Nov 2007
    Posts
    346
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok, I'm already stuck, lol. It says "First we need a way to store the visitor information. The most fast way is a simple MySQL table, so lets create a new table." So where do I create a table? PHPMyAdmin? I can't seem to see anything that says "Create a new table".

  9. #9
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Create a DB in phpmyadmin and then create the table in it. Use the query tab in phpmyadmin.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  10. #10
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok, now I get "Error
    SQL query:

    1CREATE TABLE c_online(

    2time bigint( 20 ) NOT NULL default '0', 3ip varchar( 20 ) NOT NULL default ''4
    )

    MySQL said:

    #1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '1CREATE TABLE c_online (
    2 time bigint(20) NOT NULL default ' " after entering that code...

Bookmarks

Posting Permissions

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