quote:
Originally posted by Markus
What MeEtc means:
code:
$data = file_get_contents("http://www.habbo.com.au/habbo_count_xml.action");
if ($data)
{
$usercount = preg_replace("/<usercount>([0-9]+)<\\/usercount>/", "\\1", $data);
// and all the other stuff you want to do with $data
echo $data;
}
else
{
echo("Unable to retreive data");
}
Thanks Markus, will use that in the future
Thanks all :]