connectionscentres
Programmer
This may save you a lot of aggravation.
When invoking the gd function "imagefilledrectange()"
I noticed that it worked on one server but not on another.
The first one had php5.0.3 installed with gd 2.0.28 and the second had php4.1.2 with gd 1.6.2.
Other gd functions were working fine, just not this. To get it to work I finally realised that you needed to reverse the y axis, so instead of doing 10,10,100,100 you'd do 10,100,100,10. I found this out by fluke because I couldnt find anything about it in the PHP manual. Though I'm probably wrong about that.
When invoking the gd function "imagefilledrectange()"
I noticed that it worked on one server but not on another.
The first one had php5.0.3 installed with gd 2.0.28 and the second had php4.1.2 with gd 1.6.2.
Other gd functions were working fine, just not this. To get it to work I finally realised that you needed to reverse the y axis, so instead of doing 10,10,100,100 you'd do 10,100,100,10. I found this out by fluke because I couldnt find anything about it in the PHP manual. Though I'm probably wrong about that.