It's probably not the most recommended way, but in this case it should do.
A more 'professional' way, using regular expressions, would be:
code:
<?php
$data = file_get_contents("http://www.habbo.com.au/habbo_count_xml.action") or die("Could not get data");
$usercount = preg_replace("/<usercount>([0-9]+)<\\/usercount>/", "\\1", $data);
echo $data;
?>
Or, if your server has PHP 5 or higher installed, you can use the
SimpleXML functions or the
XML Reader object to read the XML file.
EDIT: Am I really that slow or are you too fast?