PHP ile Dinamik Resim Oluşturmak
PHP Tutorials November 8th, 2007->
Php ile dinamik resimleri olusturabilmeniz gosterecegimiz bu ornekte serveriniz GD destekli olmasi gerekmetedir .
ilk once kucuk bir form olusturuyoruz
HTML:
ve simdi resmimizi olusturacak olan funksiyonu olusturacagiz
PHP:
-
<?php
-
-
-
$resim = imagecreate(150, 30);
-
$arkaplan = imagecolorallocate($resim, 255, 255, 255);
-
$yazirengi = imagecolorallocate($resim, 233, 14, 91);
-
imagestring($resim, 2, 5, 5, $_REQUEST[‘Email’], $yazirengi);
-
imagepng($resim);
-
-
?>
islem tamamlanmistir Denemek icin tiklayin



























February 20th, 2008 Saat 11:35 pm
ya kusruma kalmayn bişi anlamadımm
February 21st, 2008 Saat 6:26 am
150×30 ebatlarinda dinamik olarak png uzantili image dosyasi olusturuyor kisaca gorevi budur