What is the use of the function 'imagetypes()'?



What is the use of the function 'imagetypes()'?..

Answer / Arun Tomar

The `imagetypes()` function in PHP returns an array containing the valid image types that are supported by the current GD library. This can be useful for checking if a given file is a valid image before processing it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible?already i was increase php.ini and set Also increase Memory_limit Post_max_size upload_max_filesize..........but not working......

0 Answers  


List out the predefined classes in PHP?

11 Answers  


Explain the difference between static and dynamic websites?

1 Answers  


What is $_ get in php?

1 Answers  


What are the advantages of php?

1 Answers  


what is nl2br?

4 Answers  


What is csrf verification?

1 Answers  


What is mysqli php?

1 Answers  


What is php glob?

1 Answers  


What is RSS?How to use it in Program?

3 Answers  


What are the different functions in sorting an array?

2 Answers  


What are the two main string operators?

1 Answers  


Categories