I was forced into an "upgrade" from php 4.3.8 to 5.2.5 today.
We have a bunch of pages that employ the imagecreatefromgif function, and none of these are working since the move to php5.
These page, highly dumbed down, are all as follows:
Code: Select all
<?php
header ("Content-type: image/png");
$im = imagecreatefromgif("http://www.mydomain.com/images/myimage.gif");
imagepng ($im);
?>
I can confirm that the image "http://www.mydomain.com/images/myimage.gif" exists.
There must be something fundamental missing from my php5 installation. Here's hoping that somebody can point me in the right direction.
Thanks!