[Help]Users Online Count on My Site

Results 1 to 9 of 9
  1. #1
    Member dioogo is offline
    MemberRank
    Sep 2010 Join Date
    60Posts

    [Help]Users Online Count on My Site

    Hi Guys, I Really Need HELP here, I've tried alot of things to put the Number of Current Users Online on My Server in My Site But Still Showing "Current Users Online 0" below detailed info:

    Xampp Version -> 1.6.6 " Same of this Post -> http://forum.ragezone.com/f457/using...ebsite-695611/ < -
    Current Users Online Script
    Spoiler:

    <?php
    $link = @mssql_connect("MY-USER\SQLEXPRESS", "MY-ACCOUNT", "MY-PASS") or die ("Server is down!");
    $db = @mssql_select_db('ACCOUNT_DBF') or die ("Account table is missing!");
    $b = '';
    $mail = '';
    $query = mssql_query("SELECT * FROM [ACCOUNT_TBL_DETAIL] WHERE isuse = 'J' ");
    ?>

    Screen Of my Account_DBF Colum
    Yfrog Photo : yfrog.com/2gisusep

    AND I'm using the V16 Ready Files With V15 Database.

    If Anyone Help me I'll be very grateful

    Ps. Sorry Bad English.
    Last edited by dioogo; 28-11-10 at 06:22 PM. Reason: More Info


  2. #2
    the sound's resound echo Jelle is offline
    MemberRank
    Jun 2009 Join Date
    ._.Location
    1,036Posts

    Re: [Help]Users Online Count on My Site

    Spoiler:

    <?php
    require('./config/config_user.php');
    echo ': ' . mssql_num_rows($query);
    ?>


    Try that as script and

    Spoiler:

    <?php
    $link = @mssql_connect("JELLEPC\SQLEXPRESS", "SA", "nubc4k3") or die ("Server is down!");
    $db = @mssql_select_db('ACCOUNT_DBF') or die ("Account table is missing!");
    $b = '';
    $mail = '';
    $query = mssql_query("SELECT * FROM [ACCOUNT_TBL_DETAIL] WHERE isuse = 'J' ");
    ?>


    Save that as config_user.php inside your config folder.

  3. #3
    Member dioogo is offline
    MemberRank
    Sep 2010 Join Date
    60Posts

    Re: [Help]Users Online Count on My Site

    Quote Originally Posted by aagibcheat View Post
    Spoiler:

    <?php
    require('./config/config_user.php');
    echo ': ' . mssql_num_rows($query);
    ?>


    Try that as script and

    Spoiler:

    <?php
    $link = @mssql_connect("JELLEPC\SQLEXPRESS", "SA", "nubc4k3") or die ("Server is down!");
    $db = @mssql_select_db('ACCOUNT_DBF') or die ("Account table is missing!");
    $b = '';
    $mail = '';
    $query = mssql_query("SELECT * FROM [ACCOUNT_TBL_DETAIL] WHERE isuse = 'J' ");
    ?>


    Save that as config_user.php inside your config folder.
    Ty for Try But ---> There are currently : 0 users online! <---
    With 40 User Online on My Server... Any other Suggestion?

  4. #4
    Member dioogo is offline
    MemberRank
    Sep 2010 Join Date
    60Posts

    Re: [Help]Users Online Count on My Site

    Plz Anything?

  5. #5
    Member dioogo is offline
    MemberRank
    Sep 2010 Join Date
    60Posts

    Re: [Help]Users Online Count on My Site

    No One on ALL forum can help me?

  6. #6
    Member dioogo is offline
    MemberRank
    Sep 2010 Join Date
    60Posts

    Re: [Help]Users Online Count on My Site

    1 week Forever Alone?! =x

  7. #7
    [R8]ℓσℓ32 caja is offline
    MemberRank
    Oct 2008 Join Date
    Here!Location
    1,502Posts

    Re: [Help]Users Online Count on My Site

    PHP Code:
    <?php
    $link 
    = @mssql_connect("MY-USER\SQLEXPRESS""MY-ACCOUNT""MY-PASS") or die ("Server is down!");
    $db = @mssql_select_db('ACCOUNT_DBF') or die ("Account table is missing!");
    $b '';
    $mail ''
    $query mssql_query("SELECT * FROM [ACCOUNT_TBL_DETAIL] WHERE isuse = 'J' ");
    echo 
    $query;
    ?>
    You made the selection, but don't print it on the screen.
    Last edited by caja; 09-12-10 at 06:02 PM.

  8. #8
    Member dioogo is offline
    MemberRank
    Sep 2010 Join Date
    60Posts

    Re: [Help]Users Online Count on My Site

    Quote Originally Posted by caja View Post
    PHP Code:
    <?php
    $link 
    = @mssql_connect("MY-USER\SQLEXPRESS""MY-ACCOUNT""MY-PASS") or die ("Server is down!");
    $db = @mssql_select_db('ACCOUNT_DBF') or die ("Account table is missing!");
    $b '';
    $mail ''
    $query mssql_query("SELECT * FROM [ACCOUNT_TBL_DETAIL] WHERE isuse = 'J' ");
    echo 
    '$query';
    ?>
    You made the selection, but don't print it on the screen.
    Thanx But I've fixed it =D

    and for all that have V16 Ready Files and Get some bug just see Account.ini on Program Source.

  9. #9
    i sell platypus Improved is offline
    MemberRank
    Jun 2009 Join Date
    DenmarkLocation
    2,819Posts

    Re: [Help]Users Online Count on My Site

    .. Which has anything to do with that?



Advertisement