Hi members,
i upgraded my PHP distribution from 4.1.2 to 4.3.0 on my two test web hosts:
The first was running PHP 4.1.2 on Windows NT4 Server with IIS 4 and has the gd library 1.6.4 enabled;
the second one was running PHP 4.1.2 on Windows 2k Pro and Apache 1.3.27 with the same gd library of the previous enabled.
A PHP script allowed any user to insert by mean of a form to insert a png or jpeg image in a mysql database as a blob file. A second script allowed to display this blob file in a browser window by mean of a gd function.
After upgrading to PHP 4.3 the script can't display right images in the browser windows on both servers.
After some investigations I noticed that when the first script tries to insert the image as a blob file in the mysql database, the file content is cutted off.
P.S.: php.ini settings are the same on both servers.
The Register_Global variable was set to 'Off' both with PHP 4.1.2 that PHP 4.3.0.
With PHP 4.3.0. i tried to use both gd.dll that gd2.dll, but nothing has changed.
Is there anyone who can help me?
I enclosed the original image file content (original_img.txt) and the blob file (blob_img.txt) generated after insertion in the database plus php.ini settings in zip format.