pozycjonowanie Dodawarka do katalogów katalogowanie
W 1997 roku projektem zainteresowali się dwaj izraelscy programiści: Zeev Suraski i Andi Gutmans. Odkryli oni, że PHP/FI ma zbyt małe możliwości jak na potrzeby aplikacji eCommerce, którą tworzyli na uniwersytecie. Zdecydowali wtedy, że przepiszą kod PHP całkowicie od nowa, korzystając z pomocy już istniejącej społeczności PHP. W czerwcu 1998 roku ogłosili PHP 3.0 jako następcę PHP/FI, którego dalszy rozwój został wtedy zatrzymany.


nagrywanie blue-ray
Przegrywanie filmów ze starych nośników
Nagrywanie płyt w najnowszej technologii
www.webmedia.com.pl
Producent segregatorów
Szeroki asortyment art. papierniczych
Bruliony i zeszyty dla dzieci, młodzieży
www.tnn.com.pl
klub malucha Kraków
Doskonała opieka i wychowanie dzieci
Tanie prywatne przedszkole i żłobek
www.momiklub.pl
systemowe elementy balustrad
Automatyka bram wjazdowych
Elementy balustrad i systemy ogrodzeń
www.umakow.pl


Usługi budowlane Dzierżoniów
Usługi remontowe i wykończeniowe
Układanie boazerii i malowanie ścian
www.firmapazur.jusz.net
Program telewizyjny
Dokładny program wielu stacji TV
Telewizja bez tajemnic, zwiastuny
www.program-tv.org


Z powodu zmian licencji autorzy musieli usunąć z kodu własną bibliotekę do komunikacji z bazą MySQL. W związku z tym rozszerzenie MySQL nie jest już wkompilowywane domyślnie – należy je ręcznie doinstalować, korzystając z dostarczonej przez MySQL biblioteki libmysqlclient. Zmiana ta dotyczy również PHP 4. W zamian udostępniono nowy, domyślnie wkompilowany silnik baz danych – SQLite – którego cechą jest to, iż nie wymaga żadnych dodatkowych programów. Biblioteka kliencka jest jednocześnie jego serwerem.

XXXIII. Exif Functions

Wstęp

With the exif extension you are able to work with image meta data. For example, you may use exif functions to read meta data of pictures taken from digital cameras by working with information stored in the headers of the JPEG and TIFF images.

Wymagania

Your PHP must be compiled in with --enable-exif. PHP does not require any additional library for the exif module. Windows users must also have the mbstring extension enabled.

Instalacja

To enable exif-support configure PHP with --enable-exif

Windows users must enable both the php_mbstring.dll and php_exif.dll DLL's in php.ini. The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly.

Konfiguracja czasu wykonywania

Na działanie tych funcji wpływają ustawienia zawarte w pliku php.ini.

Exif supports automatically conversion for Unicode and JIS character encodings of user comments when module mbstring is available. This is done by first decoding the comment using the specified characterset. The result is then encoded with another characterset which should match your HTTP output.

Tabela 1. Exif configuration options

NameDefaultChangeableChangelog
exif.encode_unicode"ISO-8859-15"PHP_INI_ALLAvailable since PHP 4.3.0.
exif.decode_unicode_motorola"UCS-2BE"PHP_INI_ALLAvailable since PHP 4.3.0.
exif.decode_unicode_intel"UCS-2LE"PHP_INI_ALLAvailable since PHP 4.3.0.
exif.encode_jis""PHP_INI_ALLAvailable since PHP 4.3.0.
exif.decode_jis_motorola"JIS"PHP_INI_ALLAvailable since PHP 4.3.0.
exif.decode_jis_intel"JIS"PHP_INI_ALLAvailable since PHP 4.3.0.
Szczegóły i definicje dotyczące stałych PHP_INI_* znajdują się w rozdziale Dodatek G.

Oto krótkie wyjaśnienie dyrektyw konfiguracji.

exif.encode_unicode string

exif.encode_unicode defines the characterset UNICODE user comments are handled. This defaults to ISO-8859-15 which should work for most non Asian countries. The setting can be empty or must be an encoding supported by mbstring. If it is empty the current internal encoding of mbstring is used.

exif.decode_unicode_motorola string

exif.decode_unicode_motorola defines the image internal characterset for Unicode encoded user comments if image is in motorola byte order (big-endian). This setting cannot be empty but you can specify a list of encodings supported by mbstring. The default is UCS-2BE.

exif.decode_unicode_intel string

exif.decode_unicode_intel defines the image internal characterset for Unicode encoded user comments if image is in intel byte order (little-endian). This setting cannot be empty but you can specify a list of encodings supported by mbstring. The default is UCS-2LE.

exif.encode_jis string

exif.encode_jis defines the characterset JIS user comments are handled. This defaults to an empty value which forces the functions to use the current internal encoding of mbstring.

exif.decode_jis_motorola string

exif.decode_jis_motorola defines the image internal characterset for JIS encoded user comments if image is in motorola byte order (big-endian). This setting cannot be empty but you can specify a list of encodings supported by mbstring. The default is JIS.

exif.decode_jis_intel string

exif.decode_jis_intel defines the image internal characterset for JIS encoded user comments if image is in intel byte order (little-endian). This setting cannot be empty but you can specify a list of encodings supported by mbstring. The default is JIS.

Typy zasobów

To rozszerzenie nie posiada żadnych rodzajów zasobów.

Stałe predefinopwane

Poniższe stałe są zdefiniowane w tym rozszerzeniu i stają się dostępne, gdy rozszerzenie jest dokompilowane do PHP, lub załadowane dynamicznie przy starcie.

EXIF_USE_MBSTRING (integer)

The exif_imagetype() lists several related built-in constants.

Spis treści
exif_imagetype -- Determine the type of an image
exif_read_data -- Reads the EXIF headers from JPEG or TIFF
exif_tagname -- Get the header name for an index
exif_thumbnail -- Retrieve the embedded thumbnail of a TIFF or JPEG image
read_exif_data -- Alias dla exif_read_data()