Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> imagettftext
duvik
post
Post #1





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 5.10.2008

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


Witam, szukałem ale nie znalazłem. Wklejam poniżej kod z którego otrzymuje


(IMG:
http://hosting.57.pl/miniaturki/fba90e4aef9ccf4.jpg)



[PHP] pobierz, plaintext
  1.  
  2. <?php
  3. header('Content-Type: image/gif');
  4.  
  5.  
  6. $im = imagecreatefromgif("obrazek.gif");
  7. $kolor = imagecolorallocate($im, 255, 100, 240);
  8. imagettftext($im,12,5,5,20,$kolor,"arial.ttf","blablabla");
  9. imagegif($im);
  10.  
  11. ?>
[PHP] pobierz, plaintext

Ten post edytował duvik 9.08.2009, 21:53:21
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
Wicepsik
post
Post #2





Grupa: Zarejestrowani
Postów: 1 575
Pomógł: 299
Dołączył: 26.03.2009

Ostrzeżenie: (20%)
X----


Czemu dodajesz kod html ?
Go to the top of the page
+Quote Post
duvik
post
Post #3





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 5.10.2008

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


Pokazuje wszystko co mam w pliku i się z tym męcze, pomoże ktoś? Lub powie dlaczego wynikiem jest puste miejsce z napisem "obrazek"?
Go to the top of the page
+Quote Post
wookieb
post
Post #4





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




Wywal ten cały śmieszny html
Go to the top of the page
+Quote Post
duvik
post
Post #5





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 5.10.2008

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


Okej już działa, dzięki za pomoc.
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 14.09.2025 - 20:49