php code to show online players

Results 1 to 15 of 15
  1. #1
    Account Upgraded | Title Enabled! Razvan_dc_gl is offline
    MemberRank
    Nov 2006 Join Date
    -::In ParadiseLocation
    230Posts

    php code to show online players

    here is but i don`t know how to put in one table and to be on center ..
    work 100% !
    <?
    require ('config.php');

    $query = 'Select GameIDC, ConnectTM From MEMB_STAT, AccountCharacter where MEMB_STAT.Connectstat=1 and AccountCharacter.Id=MEMB_STAT.memb___id collate Chinese_PRC_CI_AS order by ConnectTM desc';
    $result = mssql_query($query);
    echo "<table width=100% bordercolorlight=blue>";
    while($line = mssql_fetch_row($result))
    {
    echo "<strong>";
    echo "<strong>".$line[0]."<table>";
    echo "</strong>";
    }
    echo "</strong>";
    ?>
    i atached config.php! if you have already config.php in your www folder rename this atached config.php like this config1.php

    and code will be like this

    <?
    require ('config1.php');

    $query = 'Select GameIDC, ConnectTM From MEMB_STAT, AccountCharacter where MEMB_STAT.Connectstat=1 and AccountCharacter.Id=MEMB_STAT.memb___id collate Chinese_PRC_CI_AS order by ConnectTM desc';
    $result = mssql_query($query);
    echo "<table width=100% bordercolorlight=blue>";
    while($line = mssql_fetch_row($result))
    {
    echo "<strong>";
    echo "<strong>".$line[0]."<table>";
    echo "</strong>";
    }
    echo "</strong>";
    ?>
    enjoy :busted_co
    Attached Files Attached Files


  2. #2
    Akaruz - The Legend [hidden] is offline
    MemberRank
    Jun 2006 Join Date
    ClassifiedLocation
    1,120Posts

    Re: [Release]php code to show online players

    where is the config.php file that it requires? if you noticed, there are different mu websites. so be specific with details as to which web you tested your code on for the benefit of other users.

  3. #3
    Account Upgraded | Title Enabled! Razvan_dc_gl is offline
    MemberRank
    Nov 2006 Join Date
    -::In ParadiseLocation
    230Posts

    Re: [Release]php code to show online players

    Quote Originally Posted by [hidden] View Post
    where is the config.php file that it requires? if you noticed, there are different mu websites. so be specific with details as to which web you tested your code on for the benefit of other users.
    i edited my post with more detalis so taket and enjoy:P

  4. #4
    Account Upgraded | Title Enabled! zeratos is offline
    MemberRank
    May 2006 Join Date
    MexicoLocation
    434Posts

    Re: [Release]php code to show online players

    Can you put the MapPosX, MapPosY and Resets to your query and page?

    Thanks in advance.

  5. #5
    Account Upgraded | Title Enabled! Razvan_dc_gl is offline
    MemberRank
    Nov 2006 Join Date
    -::In ParadiseLocation
    230Posts

    Re: [Release]php code to show online players

    Quote Originally Posted by zeratos View Post
    Can you put the MapPosX, MapPosY and Resets to your query and page?

    Thanks in advance.
    i will try ..

  6. #6
    Account Upgraded | Title Enabled! zeratos is offline
    MemberRank
    May 2006 Join Date
    MexicoLocation
    434Posts

    Re: [Release]php code to show online players

    Quote Originally Posted by Razvan_dc_gl View Post
    i will try ..
    Ok, thanks. ^^

  7. #7
    Member Dark-X is offline
    MemberRank
    Mar 2007 Join Date
    <title>Latv!A</title>Location
    77Posts

    Re: [Release]php code to show online players

    & ? Man its have a anothers websites ^^^ you cut it ?

  8. #8
    Account Upgraded | Title Enabled! z0lik is offline
    MemberRank
    Jun 2006 Join Date
    MoldovaLocation
    376Posts

    Re: [Release]php code to show online players

    hehe )))

  9. #9
    Account Upgraded | Title Enabled! Razvan_dc_gl is offline
    MemberRank
    Nov 2006 Join Date
    -::In ParadiseLocation
    230Posts

    Re: [Release]php code to show online players

    Quote Originally Posted by Dark-X View Post
    & ? Man its have a anothers websites ^^^ you cut it ?
    your release is?
    you can say tanks ...
    another sites have only Online Players (10, 20, 1000) no name`s .. and have on ranking but on ranking show all character on acount .. so ...
    here is list names ..

  10. #10
    Member KOT9IPA is offline
    MemberRank
    Apr 2005 Join Date
    UkraineLocation
    73Posts

    Re: [Release]php code to show online players

    Tnx man
    Very good

  11. #11
    Enthusiast KNT_CappY is offline
    MemberRank
    Apr 2007 Join Date
    <?php print "$Bulgaria"; ?>Location
    38Posts

    Re: [Release] php code to show online players

    Thanks man good !

    Have people who say stupid or i don't like it why you post ? People here release there projects to help to someone who can't create this ... And have people who are "thankless"

    Sorry for my bad english.

  12. #12
    Member Dark-X is offline
    MemberRank
    Mar 2007 Join Date
    <title>Latv!A</title>Location
    77Posts

    Re: [Release] php code to show online players

    Ok , its good !

  13. #13
    Banned DarkMaster. is offline
    BannedRank
    Feb 2007 Join Date
    BulgariaLocation
    812Posts

    Re: [Release] php code to show online players

    nice release but where to put this php code ? i use FragFrog 2. Thanks!

  14. #14
    Account Upgraded | Title Enabled! Razvan_dc_gl is offline
    MemberRank
    Nov 2006 Join Date
    -::In ParadiseLocation
    230Posts

    Re: [Release] php code to show online players

    you put in one text document and save like online.php
    or top_online or what name you whant and acces your site like this http://xxxxxx.x/your name.php

  15. #15
    Owner of lvl-up.eu star3stone is offline
    MemberRank
    Jun 2005 Join Date
    SwedenLocation
    314Posts

    Re: [Release] php code to show online players

    eeh that wasnt needed at 2007? you had muweb with ranks already at 2005-2006 maybe even earlier but if im right it got published about 2005-2006



Advertisement