![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 19 Pomógł: 0 Dołączył: 8.03.2008 Skąd: Bielsko-Biała Ostrzeżenie: (0%) ![]() ![]() |
CODE header("Content-type: text/html; charset=utf8"); header("Content-type: image/png"); $tekst=$_GET['tekst']; $obraz = ImageCreate(250, 20); ImageFilledRectangle($obraz, 0, 0, 250, 20, ImageColorAllocateAlpha($obraz, 255, 255, 255, 0)); ImageTTFText($obraz, 12, 0, 0, 15, ImageColorAllocate($obraz, 222, 1, 1), "MyriadWebPro-Italic.ttf", $tekst); ImagePNG($obraz); ImageDestroy($obraz); Wywoływany plik.php?tekst=Jakis tam tekst Nie mam koncepcji na zrobienie fajnego cache'a do tego? moze ktoś ma zrobione już gotowe rozwiązania? Ten post edytował maxbmx 9.12.2008, 23:20:36 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 20.06.2025 - 07:24 |