[PHP] another GD problem

2001-12-17 Thread Jan Maska
I have a problem.. I build some images by GD library via PHP.. Next, I need them to contain some text (i.e. date) I use the ImageString function, with color allocation black (ImageColorAllocate($img,0,0,0)). And there's the problem: IE5.0+ display the pictures properly... bud NN 4.7 draws the

[PHP] Re: another GD problem

2001-12-17 Thread Jan Maska
I take it back.. after some time of tracing the error, I found out that I handed over the date as a string argument (img src=image.php?date=25. 01. 2001...) And the problem were the whitespaces.. If you run into similiar trouble, just URLEncode the string, and before using it in imagePHP, simply

Re: [PHP] php in free()

2001-12-18 Thread Jan Maska
I'm not sure which way you create the connection, but I suppose that you use FSockOpen.. This is a buggy function, as far as I know.. Zend promised to take care of it in the 4.0.4 release of PHP, but since that nothing has changed, apparently. I had the same problem some week ago. In the end I

[PHP] Antialiasing with GD..?

2001-12-12 Thread Jan Maska
Hi, I have the following problem: Using the database, I create a graph like __.--._.--._/\.__ In order to keep exact colors and prevent a JPEG detail distortion, I use PNG format as output. This has one disadvantage: all lines are rough and I don't know how to antialias them. Can anyone