![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 2 Pomógł: 0 Dołączył: 26.01.2009 Ostrzeżenie: (0%) ![]() ![]() |
Proszę o pomoc w rozwiązaniu problemu:
czemu ten skrypt nie dział poprawnie? Kod <?php var_dump(gd_info()); ?> <?php $im = imagecreate(100, 100); $string = 'PHP'; $bg = imagecolorallocate($im, 255, 255, 255); $black = imagecolorallocate($im, 0, 0, 0); // prints a black "P" in the top left corner imagechar($im, 1, 0, 0, $string, $black); header('Content-type: image/png'); imagepng($im); ?> EFEKT: Kod array(12) { ["GD Version"]=> string(27) "bundled (2.0.34 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XPM Support"]=> bool(false) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) }
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/unikart/ftp/unites/obrazek.php:9) in <b>/home/unikart/ftp/unites/obrazek.php</b> on line <b>24</b> �PNG ��� IHDR���d���d���J,���PLTE������U��~��� IDATx�c`@Px��PU6�ፂQ0 F�(@��$��NM����IEND�B`� |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 10:29 |