Don’t use getimagesize() – PHP
Over the years I have been involved in fixing numerous websites that are performing slow. The PHP execution time on some were insane, into the many minutes. Nearly every time it has been down to the getimagesize() function. This function is terribly slow and should only be used if absolutely necessary. One thing people seemRead more about Don’t use getimagesize() – PHP[…]