PHP/Graphics Image/image type to mime type — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 13:37, 26 мая 2010
Getting an Image"s MIME Type
<source lang="html4strict">
<?php
$info = getimagesize("button.png"); print image_type_to_mime_type($info[2]);
?>
</source>