note 82082 rejected from ref.image by betz

From: Date: Fri, 28 Mar 2008 12:02:49 +0000
Subject: note 82082 rejected from ref.image by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137672@lists.php.net to get a copy of this message
Note Submitter: lagon15 at gmail dot com ---- If you get the URL of the script(for ff) instead of a png with an apache warning: Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error you might wanna change imagepng($im,"",100); to imagepng($im); or change the last input to an int between 0 and 9. Reason being from php4 to php5, the quality range changes for imagePNG from 0-99 to 0-9. Credits to the guys at Suffolk! Hope it save someone hrs of headache. =) http://blog.suffolk-web-design.co.uk/2007/06/ gd-png-fatal-libpng-error-zlib-error.html

« previous php.notes (#137672) next »