shanes
New Member
- Messages
- 35
- Reaction score
- 0
- Points
- 0
Well i'm trying to make a dynamic signature image which uses GD libary and for part of it I want there to be a dynamic image which changes if i'm online or not on a site , here's the segment of the script that checks:
I keep getting several different errors such as unexpected T_String or expecting a < etc even though it seems fine , Someone fix it for me please
PHP:
$check = file_get_contents("http://habbo.$hotel/home/$habbo);
function check()
{
if (eregi('<h2 class="title">Page not found!', $check))
{
return == true;
}
else
{
return == false;
}
}
$im = imagecreatefromgif("back.gif");
if check() return true
{
$in = imagecreatefromgif("exist.gif");
}
else
{
$in = imagecreatefromgif("http://www.habbo.$hotel/habbo-imaging/avatarimage?user=$habbo&action=&direction=3&head_direction=3&size=l&img_format=gif");
}
Last edited: