Package: php5 Version: 5.3.3.1-7+squeeze27 Severity: important Hello, i have problem with ImageCreateFromPNG() All PNG picture have a warnin after function ImageCreateFromPNG(): "Warning: imagecreatefrompng(): bad type specifier while parsing parameters in /var/www/rekl_kv/data/www/server_name.com/img_test.php on line 8"
I solve this warning replace string: $image=ImageCreateFromPNG($image); to: $image=imagecreatefromstring(file_get_contents($image)); -- System Information: Debian Release: 6.0.10 APT prefers squeeze-lts APT policy: (990, 'squeeze-lts'), (500, 'oldoldstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages php5 depends on: ii libapache2-mod-php5 5.3.3.1-7+squeeze27 server-side, HTML-embedded scripti ii php5-cgi 5.3.3.1-7+squeeze27 server-side, HTML-embedded scripti ii php5-common 5.3.3.1-7+squeeze27 Common files for packages built fr php5 recommends no packages. php5 suggests no packages. -- no debconf information