Search
 
SCRIPT & CODE EXAMPLE
 

PHP

PHP exif_read_data()

<?php
echo "test1.jpg:<br />
";
$exif = exif_read_data('tests/test1.jpg', 'IFD0');
echo $exif===false ? "No header data found.<br />
" : "Image contains headers<br />
";

$exif = exif_read_data('tests/test2.jpg', 0, true);
echo "test2.jpg:<br />
";
foreach ($exif as $key => $section) {
    foreach ($section as $name => $val) {
        echo "$key.$name: $val<br />
";
    }
}
?>
Comment

PREVIOUS NEXT
Code Example
Php :: PHP Iterables 
Php :: laravel log error 
Php :: laravel maintenance mode custom class 
Php :: group by count mongodb laravel 
Php :: dynamic function name php 
Php :: using custom fonts in php 
Php :: laravel search function 
Php :: magento 2 laravel valet 502 bad gateway 
Php :: php dump to page 
Php :: drupal get route current content type 
Php :: routing in laravel 
Php :: laravel use npm package 
Php :: phpunit test only one method 
Php :: php check string 
Php :: ignore user id on email validation laravel 
Php :: how to migrate new column without empty the table in laravel 
Php :: how to create route in laravel 
Php :: get image field in custom post type category taxonomy 
Php :: laravel get() 
Php :: php wait for exec to finish 
Php :: php array_pop with key 
Php :: laravel change string to text 
Php :: php array 
Php :: php isset 
Php :: php match expression 
Php :: multiple value match in array php 
Php :: heredoc 
Php :: php numeric array 
Php :: preg_match in php 
Php :: php convert dbf to mysql 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =