dezkit Posted May 28, 2008 Share Posted May 28, 2008 can somebody give me a simple script of gd, just like 3 lines, to see if GD is enabled in my website, because, i have difficulties doing them Link to comment https://forums.phpfreaks.com/topic/107546-php-gd/ Share on other sites More sharing options...
pocobueno1388 Posted May 28, 2008 Share Posted May 28, 2008 Use this code to see if it's installed var_dump(gd_info()); Also, I think you can use phpinfo() to see if it's installed. Link to comment https://forums.phpfreaks.com/topic/107546-php-gd/#findComment-551285 Share on other sites More sharing options...
dezkit Posted May 28, 2008 Author Share Posted May 28, 2008 ooh thanks! is it bad that ["JIS-mapped Japanese Font Support"]=>bool(false) Link to comment https://forums.phpfreaks.com/topic/107546-php-gd/#findComment-551288 Share on other sites More sharing options...
DarkWater Posted May 28, 2008 Share Posted May 28, 2008 if (function_exists("ImageJpeg")) { echo "GD enabled."; } else { echo "GD not enabled."; } Link to comment https://forums.phpfreaks.com/topic/107546-php-gd/#findComment-551291 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.