Re: [PHP-WIN] Next question about data output...

2013-08-16 Thread Jacob Kruger
Meyer" To: "Jacob Kruger" Sent: Friday, August 16, 2013 1:39 PM Subject: Aw: Re: [PHP-WIN] Next question about data output... Jacob, could you post the part of your code where the error occurs? Perhaps we can optimize some of the code to reduce the amount of memory use

Re: [PHP-WIN] Next question about data output...

2013-08-16 Thread Jacob Kruger
der('Content-Type: image/png'); header('Content-Disposition: ' . $sDisposition . '; filename="template.png"'); header('Content-Transfer-Encoding: binary'); header('Content-Length: ' . strlen($row["b_image"])); imagepng(imagecreat

Re: [PHP-WIN] Next question about data output...

2013-08-16 Thread Jacob Kruger
27;...fate had broken his body, but not his spirit...' - Original Message - From: "Sascha Meyer" To: "Jacob Kruger" Sent: Friday, August 16, 2013 8:57 AM Subject: Aw: [PHP-WIN] Next question about data output... Good morning Jacob, could you check if memor

Re: [PHP-WIN] Next question about data output...

2013-08-16 Thread Jacob Kruger
set($bOut); return $imgOut; imagedestroy($imgOut); } else { return NULL; } }//end of dbGetImage function Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Sascha Meyer" To: "Jacob Kruger"

[PHP-WIN] Next question about data output...

2013-08-15 Thread Jacob Kruger
On my development, windows machine, the memory_limit iniValue is set to 128M, and on the production server - think linux box, it's set to 1280M, but, the bit of script to render an image from database as image resource to browser, works fine on my machine, but, on server, the following error occ