Chippiewill
14-08-2007, 09:16 PM
I am using the habboclass code but i am having a couple of problems
<?php
$habboname = "00chips";
$hotel .= ".co.uk";
?>
Here i set a couple of variables so it can get the data
$this->data = file_get_contents("http://habbo" . $hotel . "/home/" . $habboname);
And that is supposed to create the URL to the habbo home
but when I try to open that URL using the variable $data it doesnt work?
anybode got any ideas (below is full code)
edit: its being naff and wont let me show the full code
edit2: $this->data is equel to $data
<?php
$habboname = "00chips";
$hotel .= ".co.uk";
?>
Here i set a couple of variables so it can get the data
$this->data = file_get_contents("http://habbo" . $hotel . "/home/" . $habboname);
And that is supposed to create the URL to the habbo home
but when I try to open that URL using the variable $data it doesnt work?
anybode got any ideas (below is full code)
edit: its being naff and wont let me show the full code
edit2: $this->data is equel to $data