Interview Questions

How can we get the properties (size, type, width, height) of an image using php image functions?

PHP Interview Questions and Answers


(Continued from previous question...)

How can we get the properties (size, type, width, height) of an image using php image functions?

To know the image size use getimagesize() function
To know the image width use imagesx() function
To know the image height use imagesy() function

(Continued on next question...)

Other Interview Questions