http://img251.images...stationdane.gif
you work this code?
extract exif from pscs xmp
I am not
I found the finished scripts, but rather a very complicated because I just want to pull out the dimensions and keywords and have them in an array.
on the server or deficient, and there is no errors.
but I found a lot of libraries are very powerful and I can not pull out of them only need my data
I wanted that keywords must be in an array and for example, $ word [1], display the one word to me
I also have a code
<? ob_start(); $image = 'test.jpg'; $content = file_get_contents($image); $xmp_data_start = strpos($content, '<x:xmpmeta'); $xmp_data_end = strpos($content, '</x:xmpmeta>'); $xmp_length = $xmp_data_end - $xmp_data_start; $xmp_data = substr($content, $xmp_data_start, $xmp_length + 12); $xmp = simplexml_load_string($xmp_data); echo $xmp[0]; ob_end_flush();but I get such errors
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in D:\Serv\www\PHP_JPEG_Metadata_Toolkit_1.11\b.php on line 10 Warning: simplexml_load_string() [function.simplexml-load-string]: ˙Ř˙ŕ in D:\Serv\www\PHP_JPEG_Metadata_Toolkit_1.11\b.php on line 10 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in D:\Serv\www\PHP_JPEG_Metadata_Toolkit_1.11\b.php on line 10
I looked at another image is wo do nothing shown.


Sign In
Create Account

Back to top









