Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z obrazkiem, imagecreate - problem
colinQ
post
Post #1





Grupa: Zarejestrowani
Postów: 340
Pomógł: 2
Dołączył: 25.12.2006

Ostrzeżenie: (0%)
-----


  1. <?php
  2. header("Content-type: image/png");
  3. $im = @imagecreate(50, 100)
  4. or die("Cannot Initialize new GD image stream");
  5. $background_color = imagecolorallocate($im, 255, 255, 255);
  6. $text_color = imagecolorallocate($im, 233, 14, 91);
  7. imagestring($im, 1, 5, 5, $data, $text_color);
  8. imagepng($im);
  9. imagedestroy($im);
  10. ?>


Nie działa mi exclamation.gif!

Na localhoscie wyswiatla :

Warning: Cannot modify header information - headers already sent by (output started at c:\usr\apache\httpd\html\homepage\a.php:1) in c:\usr\apache\httpd\html\homepage\a.php on line 2
�PNG  ��� IHDR���2���d����&����PLTE����[�˝����IDATx�c`�`�� ��2V�����IEND�B`�

A na yoyo.pl => konradkolasa.yoyo.pl

Obrazek "http://www.konradkolasa.yoyo.pl/a.php" nie może zostać wyświetlony, ponieważ zawiera błędy.

Dlaczego tak??

Help


--------------------
-> Kanał YouTube: http://www.youtube.com/user/screencup
-> Screencup - podcast/screencast, recenzja Makowych aplikacji
-> www.screencup.pl - witryna internetowa podcastu
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 13:04