halo, ada yang pernah ngompile php pake gd lib ngak ?
saya punya masalah, saya sudah compile semua sesuai prosedur tapi kok
waktu saya request page nya , image nya broken ....
saya buat 2 file, satu html dan yang satu lagi php3 yang saya letakan
dalam direktori yang sama.
file html spt ini (nama file : index.html) :
<img src="tombol.php3?teks">
file php nya (nama file : tombol.php3) :
<?php
Header("Content-type: image/gif");
$string=implode($argv," ");
$im = imagecreatefromgif("tombol.gif");
$orange = ImageColorAllocate($im, 220, 210, 60);
$px = (imagesx($im)-7.5*strlen($string))/2;
ImageString($im,3,$px,9,$string,$orange);
ImageGif($im);
ImageDestroy($im);
?>
ini saya ambil dari contoh manual php/gif creation.
saya sudah letakan file 'tombol.gif' pada direktori yang sama, tapi imagenya
ngak keluar, ada yang punya pengalaman?
untuk gd libnya , saya compile dengan --with-gd
dan waktu kompilasi , msg nya :
whether to include gd support.......yes
....
waktu saya request dengan http://localhost/index.html
halamannya muncul tanpa error , tapi image nya broken...
pls help
terimakasih,
andi~
Layanan Pertukaran Banner - http://www.indobanner.co.id
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
To unsubscribe, e-mail : [EMAIL PROTECTED]
To subscribe, e-mail : [EMAIL PROTECTED]
Netika BerInternet : [EMAIL PROTECTED]
UNLIMITED POP3 Account @ http://www.indoglobal.com