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

Answer Posted / arvind sharma

we can use getimagesize() function which will rtun the array
of its dimension.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php 7.0 stable?

498


Is php a web server?

534


How can we submit a form without using submit buttons?

530


Is it possible to remove the html tags from data?

525


What is the default time in seconds for which session data is considered valid?

564






How to reset/destroy a cookie?

569


What are the two main string operators?

538


What is a controller in php?

546


How many functions are there in php?

515


How to remove the new line character from the end of a text line in php?

521


Which function is used in php to delete a file?

554


How do I start a php session?

532


What is csrf token and how it works?

515


What is the $_ server php_self variable?

481


What are computer variables?

524