Re: [PHP] Identify a Word Document on the Fly From: Andreas Pour (pour <email protected>)
Date: 09/23/00

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>