Witaj
Mam problem z moim kontem, ponieważ nie ładuje on dla mnie zdjęć z headline.php
Mój headline.php
Mam problem z moim kontem, ponieważ nie ładuje on dla mnie zdjęć z headline.php
Mój headline.php
Code:
<? PHP
$ tekst = $ _ GET ['tekst'];
if ($ config ['site'] ['check_titles'] == FALSE lub in_array ($ text, $ config ['site'] ['allowed_titles']))
{
if (! file_exists ('images / head /'.$ tekst.'. png '))
{
$ font = "obrazy / głowa / martel.ttf";
$ image = imagecreatefrompng ('images / head / headline.png');
imagettftext ($ image, 18, 0, 4, 20, imagecolorallocate ($ image, 240, 209, 164), $ font, $ text);
imagepng ($ image, 'images / head /'.$ tekst.'. png ');
}
$ img = 'images / head /'.$ tekst.'. png ';
$ pic = imagecreatefrompng ($ img);
nagłówek („Typ treści: obraz / png”);
imagepng ($ pic);
}
?> [/ code]
Thanks for help!
Attachments
-
Zrzut ekranu 2020-11-15 142357.png292.9 KB · Views: 14 · VirusTotal
-
Zrzut ekranu 2020-11-15 142425.png5.1 KB · Views: 14 · VirusTotal
-
Zrzut ekranu 2020-11-15 142459.png108.2 KB · Views: 14 · VirusTotal