Показать сообщение отдельно

  #4  
Старый 04.02.2007, 22:44
Helios
Постоянный
Регистрация: 14.01.2007
Сообщений: 459
С нами: 10169427

Репутация: 589
По умолчанию

Ксури, exif_imagetype() так и делает, я уже писал:

Цитата:
exif_imagetype() reads the first bytes of an image and checks its signature. When a correct signature is found a constant will be returned otherwise the return value is FALSE. The return value is the same value that getimagesize() returns in index 2 but this function is much faster.
 
Ответить с цитированием