
Porady php/html
---Cytat (napisany przez - Marshall)--- Router nie powinien powodowac takich rzeczy. Jestes pewny, ze to nie wina serwerow skad pobierasz dane ? Czy...
Proponuje sciagnac u kolegi i wypalic na plycie obraz z programem antywirusowym, np. Kaspersky Rescue Disk...
Jesli ktos zaryzykował i kupił nawigacje Mio i zamiast gwarantowanych 10 Euro postanowił zagrać o 100 niech da znac jeśli wygra. Ciekawi mnie jak to...
Ja tez nie mogę wziąc udziału bo już mam jednego takiego....:( Ale pomysł fajny. Kumpel mówił, że ta gierka jak się gra o 100 Euro jest nieźle...
witam. mam ten sam problem z kamerka i sys Vista. Jezeli jest ktos zyczliwym na tym forum to prosze o przeslanie sterownikow do visty na mojego...
Naucz się tworzyć strony
XXXIV. 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 uruchomieniowa
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
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| exif.encode_unicode | "ISO-8859-15" | PHP_INI_ALL | Available since PHP 4.3.0. |
| exif.decode_unicode_motorola | "UCS-2BE" | PHP_INI_ALL | Available since PHP 4.3.0. |
| exif.decode_unicode_intel | "UCS-2LE" | PHP_INI_ALL | Available since PHP 4.3.0. |
| exif.encode_jis | "" | PHP_INI_ALL | Available since PHP 4.3.0. |
| exif.decode_jis_motorola | "JIS" | PHP_INI_ALL | Available since PHP 4.3.0. |
| exif.decode_jis_intel | "JIS" | PHP_INI_ALL | Available since PHP 4.3.0. |
Oto krótkie wyjaśnienie dyrektyw konfiguracji.
exif.encode_unicodestringexif.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_motorolastringexif.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_intelstringexif.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_jisstringexif.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_motorolastringexif.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_intelstringexif.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 predefiniowane
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()
| Poprzedni | Spis treści | Następny |
| user_error | Początek rozdziału | exif_imagetype |
Mało tego, że dodają, to jeszcze robią coś, że znikają mi komentarze dodane przez zwykłe osoby i to ze wszystkich newsow jednocześnie. Ostatnio miałem bardzo nieprzyjemną sytuację, gdy kilkanaście komentarzy pod ekskluzywnym wywiadem z Tomaszem Lisem (który bardzo promowałem) zniknęło, a w zamian tego pojawiło się kilkadziesiąt komentarzy od robotów. Próbowałem zrobić tak żeby każdy, kto chce komentować musiał się rejestrować. I owszem - wtedy robotów nie było, ale też nikt nie chciał się specjalnie rejestrować żeby komentować u mnie newsy.