Witam,
generuje obrazek za pomocą GD.
i dostaje link www.sss.pl/id?=1231231
i jak zrobić żeby końcówka obrazka miała .jpg ?
bo na forum nie da się wyświelic obrazka z koncowka id?=d123123
$obrazek = imagecreatefrompng("tlo.png"); $kolor = imagecolorallocate($obrazek, 250, 250, 250); $czcionka = "visitor.ttf"; imagettftext($obrazek,13,0,5,25,$kolor,$czcionka,$nick); imagettftext($obrazek,8,0,5,10,$kolor,$czcionka,' '.$poziom); imagettftext($obrazek,8,0,5,10,$kolor,$czcionka,' '.$pochwaly); imagettftext($obrazek,8,0,5,10,$kolor,$czcionka,' '.$warns); imagettftext($obrazek,8,0,5,66,$kolor,$czcionka,' '.$dolaczyl); imagettftext($obrazek,8,0,5,66,$kolor,$czcionka,' '.$posty); imagettftext($obrazek,8,0,5,66,$kolor,$czcionka,' '.$diamenty); imagepng($obrazek);