Ignore:
Timestamp:
Jan 8, 2008, 10:25:16 AM (17 years ago)
Author:
maron
Message:

Oprava projektu online hráči

Location:
projectonlineplayes/source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • projectonlineplayes/source/PHP - load info about server/xml.php

    r194 r195  
    5858  } // END function GetServerInfo
    5959
    60   $info = GetServerInfo('onlineplayers.xml');
     60  $info = GetServerInfo('http://wow.zdechov.net/projectonlineplayes/create_xml.php');
    6161 
    6262  echo '<table>';
  • projectonlineplayes/source/PHP - create xml mangos/create_xml.php

    r194 r195  
    33$Username = 'root';
    44$Password = '';
    5 $Database = 'mangos'; // must contains characters table
     5$Database = 'characters'; // must contains characters table
    66$RealmHostname = $Hostname;
    77$RealmUsername = $Username;
     
    3131  $Result =
    3232'<?xml version="1.0" encoding="UTF-8"'."?>\r\n".
     33'<!DOCTYPE server SYSTEM "http://wow.zdechov.net/projectonlineplayes/onlineplayers.dtd"'.">\r\n".
    3334"  <server>\r\n".
    3435"    <servername>".$ServerName."</servername>\r\n".
  • projectonlineplayes/source/xml - example/onlineplayers.xml

    r194 r195  
    11<?xml version="1.0" encoding="UTF-8"?>
    2 <!DOCTYPE server SYSTEM "onlineplayers.dtd">
     2<!DOCTYPE server SYSTEM "http://wow.zdechov.net/projectonlineplayes/onlineplayers.dtd">
    33<server>
    44  <servername>Heroes Of Fantasy</servername>
Note: See TracChangeset for help on using the changeset viewer.