Basic PHP Programming Question: Download Questions PDF
WHAT TYPES OF IMAGES THAT PHP SUPPORTS?
Answer:
Using imagetypes() function to find out what types of images are supported in your PHP engine.
imagetypes() - Returns the image types supported.
This function returns a bit-field corresponding to the image formats supported by the version of GD linked into PHP. The following bits are returned, IMG_GIF | IMG_JPG | IMG_PNG | IMG_WBMP | IMG_XPM.
imagetypes() - Returns the image types supported.
This function returns a bit-field corresponding to the image formats supported by the version of GD linked into PHP. The following bits are returned, IMG_GIF | IMG_JPG | IMG_PNG | IMG_WBMP | IMG_XPM.
Download PHP Interview Questions And Answers
PDF
Previous Question | Next Question |
How to reset/destroy a cookie in PHP? | How can I know that a variable is a number or not using a JavaScript? |