$url_gamelist = 'http://haloapi.com/api/player/games/index.php?gamertag=' . $vbulletin->userinfo['field5'] . "&start=0&end=5" . $keyurl; $rss_file_gamelist = file_get_contents($url_gamelist); $xml_gamelist = new SimpleXMLElement($rss_file_gamelist);