Witam
Mam taki problem i pytanie dlaczego nie wyświetla mi się tutaj obrazek. Wydaje mi się że wszystko jest w porządku
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form action="index.php">
<input type="submit" value="Powrót"/>
</form>
<?php
$wysokosc=200;
$szerokosc=200;
$ob = imagecreate($szerokosc, $wysokosc);
$bialy = imagecolorallocate($ob, 255, 255, 255);
$niebieski = imagecolorallocate($ob, 0, 0, 64);
imagefill($ob, 0, 0, $niebieski);
imageline($ob, 0, 0, $szerokosc, $wysokosc, $bialy);
imagestring($ob, 4, 50, 150, 'Sprzedaż', $bialy);
Header('Content-type: image/png');
imagepng($ob);
imagedestroy($ob);
?>
</body>
</html>