hi,
header("Content-type: image/gif");
$image = imagecreatefromGIF("userDGfdfggfdssdfsewe/".$_SESSION['username'].".gif");
echo $image;
wie kommst du denn auf den gedanken, dass du ein solche bild-objekt einfach mit echo an den client ausgeben könntest?
ein array bespielsweise gibst du doch auch nicht mit echo $array aus, oder?
schau dir die funktionen imagegif(), imagejpeg() und imagepng() mal an.
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."