From: Uğur Yıldız (yildiz.ugur@gmail.com)
Date: Mon 02 Jul 2007 - 14:36:25 EEST
ayrıca ob_start() ve ob_end_flush() fonksiyonlarını kodunuzda başlangıç ve
bitişte kullanızsanız çözülebilir...
http://tr2.php.net/manual/en/function.ob-start.php
UÄŸur YILDIZ
2007/7/1, Murat Birben <muratbirben@gmail.com>:
>
> header dan önce sayfaya herhangi bir çıktı göndermemeniz gerekiyor. Bu
> satırdan önce web sayfasına çıktı gönderiyorsanız o satırı header dan daha
> alt satırlara koymanız gerekli.
>
> İyi çalışmalar...
>
> On 7/1/07, cemalettin kara <cemalettinkara@yahoo.com> wrote:
>
> > mehaba ben php5 de textten imaj oluşturmaya çalıştığımda hata
> > veri.kullandığım kod şöyle:
> > <?php
> > header("Content-type: image/png" );
> > $im = @imagecreate( 110, 20)
> > or die("Cannot Initialize new GD image stream" );
> > $background_color = imagecolorallocate ($im, 0, 0, 0);
> > $text_color = imagecolorallocate($im , 233, 14, 91);
> > imagestring($im , 1, 5, 5, "A Simple Text String", $text_color );
> > imagepng($im );
> > imagedestroy($im);
> > ?>
> > aldığım hatada şöyle:
> > *Warning*: Cannot modify header information - headers already sent by
> > (output started at C:\wamp\www\phpdesigner_tmp1.php:3) in *
> > C:\wamp\www\phpdesigner_tmp1.php* on line *8*
> >
> > ------------------------------
> > Boardwalk for $500? In 2007? Ha!
> > Play Monopoly Here and Now<http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow>(it's updated for today's economy) at Yahoo! Games.
> >
> > _______________________________________________
> > Linux-programlama mailing list
> > Linux-programlama@liste.linux.org.tr
> > http://liste.linux.org.tr/mailman/listinfo/linux-programlama
> >
> >
>
>
> --
> Murat BIRBEN
> _______________________________________________
> Linux-programlama mailing list
> Linux-programlama@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>
>
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama