I'm wondering if there is a way I can store data like the author, in a file? Like you right click on a file in Windows, and you set properties of it. Can I read those properties in PHP ?
What I really want to do is, I want to upload images to a directory, and when I'm showing the images in the PHP page, I want to get the alt
attribute directly from the jpg (or png) file's "properties".
I have tried finfo_file()
function of PHP, but no success.
Thanks for any help.