Hi. I’ve been trying to write a script that would get information (the stats) from the game’s user profile; these profiles (http://uberstrike.cmune.com/Profile.aspx?cmid=563853). To start, I’m just trying to get it to echo the Global Rank, but it doesn’t parse.
[php]<?php
$fp = fopen(‘http://uberstrike.cmune.com/Profile.aspx?cmid=563853’, ‘r’);
fseek($fp, 7687);
$section = fgets($fp);
echo $section;
?>[/php]
It worked fine when fseek(); was set to seek to something like 4 or 5, but anything higher than that didn’t parse the file had something like 16,000 characters.
Help and constructive criticism would be kindly appreciated.