maxim Posted June 18, 2006 Share Posted June 18, 2006 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 serverswhat 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] Quote Link to comment https://forums.phpfreaks.com/topic/12299-php-and-gd/ Share on other sites More sharing options...
mark s Posted June 18, 2006 Share Posted June 18, 2006 I Cant see the images not displayed.Link is also dead:( Quote Link to comment https://forums.phpfreaks.com/topic/12299-php-and-gd/#findComment-46997 Share on other sites More sharing options...
.josh Posted June 18, 2006 Share Posted June 18, 2006 are you trying to use a specific font? possibly the server does not recognize the font and is using a default font. which would mean that on your local server it's not reading your specified font correctly. just a guess. Quote Link to comment https://forums.phpfreaks.com/topic/12299-php-and-gd/#findComment-47010 Share on other sites More sharing options...
deadonarrival Posted June 18, 2006 Share Posted June 18, 2006 The font looks the same to me - what versions of PHP and GD are running on each server? Does the remote server use the more recent releases? Quote Link to comment https://forums.phpfreaks.com/topic/12299-php-and-gd/#findComment-47015 Share on other sites More sharing options...
maxim Posted June 18, 2006 Author Share Posted June 18, 2006 the font comes from a file that is located in the same directory as the script.those images should work...as i alrady stated mt PHP version my GD versions are as followslocal server =GD Version 2.0 or higherremote server = GD Version bundled (2.0.28 compatible) Quote Link to comment https://forums.phpfreaks.com/topic/12299-php-and-gd/#findComment-47079 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.