Solved

PHP read detail info such as title,description,keyword from images (digital foto)

Posted on 2007-11-22
1
149 Views
Last Modified: 2010-04-03
How can I make an web application that can read file info / properties of an image.

You know,... we can add file info in photoshop susch as title, description, keyword etc.

If PHP can not do that ? is there any web script that can do that?

Thanks

YUAN
0
Comment
Question by:sabukhitam
1 Comment
 
LVL 4

Accepted Solution

by:
simonkin earned 50 total points
ID: 20335203
Hi,

try this....
<?php
 

 $exif = read_exif_data ('p0001807.jpg');
 

 while(list($k,$v)=each($exif)) {
 

   echo "$k: $v<br>\n";
 

 }
 

?>

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now