<?php function antyspam($tekst, $font, $size) { $arr = imagettfbbox($size, 0, $font, $tekst); $img = imagecreatetruecolor($width, $height); $white = imagecolorallocate($img, 255, 255, 255); $black = imagecolorallocate($img, 0, 0, 0); imagefill($img, 0, 0, $white); imagettftext($img, $size, 0, 0, $height - 5, $black, $font, $text); ` imagepng($img, \"email.png\"); imagedestroy($img); echo\"<IMG ALIGN=\"absbottom\" SRC=\"email.png\">\"; } antyspam (\"Jakiśtamtekst\", \"arial.ttf\", \"11\"); ?>
Wyskakuje błąd:
Cytat
Parse error: parse error, unexpected $end in c:\usr\apache\httpd\html\zoz\png.php on line 20
Jakby co to mam GD Wersja: bundled (2.0.15 compatible)
Może jakiś błąd w składni przeoczyłem ale jakos nie widzę
