DmdFreak
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by DmdFreak
-
-
Sorry about that. Version 5
-
I'm trying to do a file_get_contents() on the following URL then parse the info.
http://game.trackmanianations.com/online_game/www_serverslist.php
I want to end up with the server name and each of the players that are on at that moment.
I want to then turn around and post this info as live results on my website.
[code]- <server>
<host>freaksserver2</host>
- <players>
<player>Fredrik_Smart</player>
<player>Susie2002</player>
<player>_milllan_</player>
<player>BALTAZAR_</player>
<player>ZiLWooD</player>
<player>Mr._Flips</player>
<player>Ayzblokk</player>
<player>Rose_Tattoo</player>
</players>
</server>[/code]
When I do the file_get_content() I end up with only the names, but when I insert the same URL straight into the browser, I get a coded active page. If anyone has any idea of another way of getting what I want out of this page it would be great. I'm very new to PHP.
Thanks!
Help parsing this info
in PHP Coding Help
Posted