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

Answer Posted / divyesh

getimagesize($size, $type, $width, $hieght);

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In php, how to redirect from one page to another page?

506


How to add comments in php?

596


Tell me what is the meaning of a final class and a final method?

521


What are escaping characters? Explain with an example?

511


What's the difference between using mysql_ functions and pdo?

517






What are include() and require() functions?

511


What is the use of die in php?

515


Tell me how is it possible to remove escape characters from a string?

481


How do you destroy a session?

498


How to redirect https to http url and vice versa in .htaccess?

512


Is php a mvc?

504


How many open modes available when a file open in PHP?

647


Explain what is the static variable in function useful for?

520


Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?

564


List the different types of print functions available in php?

539