Re: Identify a Word Document on the Fly
| From: | Andreas Pour | Date: | Sat, 23 Sep 2000 21:54:18 +0000 |
| Subject: | Re: Identify a Word Document on the Fly | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17320@lists.php.net to get a copy of this message | ||
Van wrote:
>
> Greets, all:
>
> Been many moons since I've been on the php list.
>
> I'm building a resume uploader utility and using the input type=file tag
> to pitch the browse dialog to the end user. On submit, I'd like to stream
> the file into a size-limited variable. I don't allow the web applications
> to write to the file system. The data will go into a MySQL BLOB field
> along with any other identification data.
>
> My question is, has anyone worked with the Word proprietary document
> format to the extent they can identify that it is a word document?
Hi,
$ file resume.doc
resume.doc: Microsoft Office Document
Easier than writing your own ;-).
Ciao,
Andreas Pour
http://www.kde.com/ : Everything KDE
http://apps.kde.com/: The Latest in KDE Applications