exif_read_data

exif_read_data -- Read the

sections a comma separated lsit of sections that need to be present in file to produce a result array .



הערה :

דוגמה 1 . exif_read_data( ) example

 
?php

 
echo

 
"

 
test1.jpg

 
:

 
br

 
\n"

 
;

 
$exif

 
=

 
exif_read_data

 
('tests

 
/

 
test1.jpg'

 
,'IFD0')

 
;

 
echo

 
$exif===false

 
?

 
"No

 
header

 
data

 
found

 
.

 
br

 
\n

 
"

 
:

 
"Image

 
contains

 
headers

 
br

 
"

 
;

 
$exif

 
=

 
exif_read_data

 
('tests

 
/

 
test2.jpg',0,true)

 
;

 
echo

 
"test2.jpg

 
:

 
br

 
\n"

 
;

 
foreach($exif

 
as

 
$key=

 
$section

 
)

 
{

 
foreach($section

 
as

 
$name=

 
$val

 
)

 
{

 
echo

 
"$key.$name

 
:

 
$val

 
br

 
\n"

 
;

 
    }

 
}

 
?















































































































 
Comment

 
#3end







הערה :

הערה :

הערה :

הערה :

הערה :