Re: [GD-DEVEL] Need help with GD Library
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On 3/10/07, Steven Binion <[email protected]> wrote: > I didn't write it. that may take me a few days. and it's not the script. > it's the server. the script works. I also stated I have two > different.bundles and neigther will do a thing with GD lib. send me the > simplist script and I'll drop and image in for testing. and it's not > going to work on my server. you're going to find yourself debuging > scripts that don't have any errors. Copy the lines below, you should see a white rectangle with a black border: <?php $im = imagecreatetruecolor(100, 100); imagefilledrectangle($im, 10, 10, 90, 90, 0xFFFFFF); header('Content-type: image/png'); imagepng($im); /*end of the script*/