Jump to content

PHP and GD


maxim

Recommended Posts

Hi,

i made a small script which reads a HTML file and stores some text from it. It then outputs that text onto a image.

i tested the script on my local apache server with PHP Version 5.1.2. heres is a copy of the final result.

[img src=\"http://maximhome.no-ip.org/images/local.png\" border=\"0\" alt=\"IPB Image\" /]

here is a copy of the exact same script running on my remote web server using PHP Version 4.4.2

[img src=\"http://maximhome.no-ip.org/images/remote.png\" border=\"0\" alt=\"IPB Image\" /]

there is a obvious diffrence between images. its the text output. on the remote web server is
displayed much better with even spacing between letters in the text.

any ideas on why this is happening. my guess is its the diffrent version of eith PHP or GD on the diffrent servers
what do you guys/girls think ?

the dynamic version of the image can be foun here [a href=\"http://maximhome.no-ip.org/picture.html\" target=\"_blank\"]http://maximhome.no-ip.org/picture.html[/a]
Link to comment
https://forums.phpfreaks.com/topic/12299-php-and-gd/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.