I need help badly, that is, the following php code (posted below) works perfectly fine with my former hosting company and its version of php (forgot what it is), however, since I change host and I know that they are using php version 4.4.1 and the latest version of GD, but the php script/form just doesn't work with the new host with its php version instead it only gives me error message that say that the the file is an invalid gif file when in fact, the file is there. I have posted part of the php code and the error given every time that I run it below.
Please give it a look over and help me figure out why a script working perfectly fine suddenly being rendered useless. Thank you.
<?php
if(ini_get('zlib.output_compression'))
ini_set('zlib.output_compression', 'Off');
extract($_GET);
extract($_POST);
$id1 = imageCreateFromGIF($floorlayerimage);
$id2 = imageCreateFromGIF($walllayerimage);
$id3 = imageCreateFromGIF($backgroundlayerimage);
$idlogo = imageCreateFromGIF("logo.gif");
....
Return Error
Warning: imagecreatefromgif():
'http://mydomain.com/makers/maker_sayclub/images/walls/m_r_000000.gif' is not a valid GIF file in
/home/username/public_html/makers/maker_sayclub/saveroom.php on line 8
.
.
.
.
.
.
..
.
.
.
the file is indeed there in the directory http://mydomain.com/makers/maker_sayclub/images/walls/
and the script is the folder path /home/username/public_html/makers/maker_sayclub/