I have an identical piece of code on 2 different web servers. One is redhat linux and the other is suse linux.There appears to be a problem/discrepancy between how each of these servers responds to a the ImageCreate command.
[CODE]echo”return before = “.$return.”</br>”;$return=ImageCreate($width, $height);echo “return after = “.$return.”</br>”;
is the group of statements.On the redhat server, both the before and after of $return appears.On the suse server, I only get the before result. It’s almost as it doesn’t know what to do with that command.Any assistance is greatly appreciated. I’ve been fighting with this program for most of the week & I think this is my last hurdle. It took some doing, but I think that perhaps GD isn’t installed on the 2nd server. We are using php v 5.0.2 on Linux V4 2.6.5-7.111.19-smp #1 SMP Fri Dec 10 15:10:58 UTC 2004 i686
Looks like SLES (suse) linux with an apache 2.0 handler
The people who set this up are no longer with the company, so we are struggling our way through this. If anyone can be of any advice/assistance in getting this installed, it would be greatly appreciated.
Thanks
D