Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]imagestring wyrzuca błąd
deLL
post
Post #1





Grupa: Zarejestrowani
Postów: 92
Pomógł: 1
Dołączył: 3.11.2008
Skąd: Kozienice - Polska

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


Witam, mam taki oto kod:

  1. $im = "sig.png";
  2. $textcolor = imagecolorallocate($im, 0, 0, 0);
  3.  
  4. imagestring($im, 5, 0, 0, $ultimate_text, $textcolor);


Lecz to mi nie działa, czemu?

Wyrzuca błąd:
Kod
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/XXXX/domains/XXXXXXXXXX/public_html/XXXX/XXX/staty.php  on line 63

Warning: imagestring(): supplied argument is not a valid Image resource in /home/XXXX/domains/XXXXXXXXXX/public_html/XXXX/XXX/staty.php on line 66
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: 19.08.2025 - 02:46