Right, so i've been attempting to get more knowledge of php, so I decided to code a basic little script which gets the join date of any given Habbo.com member. In order for this to work, the Habbo who's join date you want to get must have their profile public.
Live demo:
http://loduz.in/HabboJoinDate.php?habbo=INSERTNAMEHERE
PHP Code:
It's kinda pointless, but I guess it *could* potentially be useful. Please rate/slate as much as you likePHP Code:<?php
######################################
## PHP 'Get Habbo Join Date' Script ##
## Created by Pension (Robbie) ##
######################################
$habbo = $_GET['habbo'];
function getJoinDate($habbo)
{
$link = file_get_contents('http://www.habbo.com/home/'.$habbo);
$date = explode('<div class="birthday date">', $link);
$date = explode('</div>', $date[1]);
$date = trim($date[0]);
return $date;
}
echo '<b>Member since:</b><br />'.getJoinDate($habbo);
?>![]()


Reply With Quote


