Jump to content

how to get file title tag


nashsaint

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.