php file summary
php file summary
- Started
- Last post
- 2 Responses
- UndoUndo
anyone know how to retrieve file summary info with php. i'm trying to get title, subject, author, category, comments etc
cheers
- UndoUndo0
like ID3 tags for mp3 files.
- enobrev0
You need to open the file and read the file headers (usually, but not always, where the id3 info is).
Here's a library that does it:
http://leknor.com/code/If you want to do it for non-mp3's you'll want t olook for ready-made libraries for it or roll your own. If rolling your own, look into that id3 reader for an idea of how to do it.
good luck.