imza için banner kodumda yardımınıza ihtiyacım var. yazıyı png resmin üzerine yazmayı başardım ama resim urlsini kullanıcıya vermem gerekiyor.
form girdileri imza.html den çıkıp altta kodları bulunan signature.php ye gidiyor. benim amacım signature.php den çıkıp imza.php sayfasına post methoduyla göndermesi ama becemedim.
<?php
$forum_adi = $_GET[ 'forum_adi' ];
$birakma_tarihi = $_GET[ 'birakma_tarihi' ];
// Creating of the .png image.
header('Content-Type: image/png;');
$im = @imagecreatefrompng('signature.png') or die("ERROR: Cannot select the correct image. Please contact the webmaster.");
//Creating the colour.
$text_color = imagecolorallocate($im, 9, 9, 9);//color black
//Creating the font.
$font = 'font.ttf';
$print_forum_adi = "$forum_adi";
$print_birakma_tarihi = "$birakma_tarihi";
imagettftext($im, 12, 0, 60, 30, $text_color, $font, $print_forum_adi);
imagettftext($im, 12, 0, 60, 60, $text_color, $font, $print_birakma_tarihi);
imagepng($im);
imagedestroy($im);
?>