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 Quote Link to comment 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. Quote Link to comment 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) Quote Link to comment 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."; } Quote Link to comment 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.