--- a/includes/button.php +++ b/includes/button.php @@ -85,7 +85,7 @@ header("Pragma: no-cache"); header('Content-type: image/png'); imagepng($image); -imagedestroy($image); +unset($image); exit( ); ?>