nashsaint Posted March 22, 2010 Share Posted March 22, 2010 Hi, I am not sure if this is possible but ill ask it anyway. I searched the web and this forum for any solution but unfortunately i couldn't find a solution. What i want to accomplish is this. I am trying to read the file's tag, or whatever you call it. I managed to read the filename, size and other information that $_FILES function gives. But there is one thing i couldn't extract from the file tags, the "title". How can i do this? I have attached a picture to help explain what i meant. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/196182-how-to-get-file-title-tag/ Share on other sites More sharing options...
o3d Posted March 22, 2010 Share Posted March 22, 2010 The title property and others (author, version, etc..) are file/fat/ntfs specific and not upload specific. These properties are also different for every type of file. E.g. a plain text file does not have any properties associated with it (except if you right click properties... and set the title, author, etc. But when you move that file to a different computer the title will be blank. A PDF document can store the title as the title can be embedded inside the actual file. So a short answer is no. The $_FILE properties are upload-specific. You'll have to search the web for a class that can read e.g. the title out of an MS Word document. Link to comment https://forums.phpfreaks.com/topic/196182-how-to-get-file-title-tag/#findComment-1030268 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.