Identify a Word Document on the Fly

From: Date: Wed, 20 Sep 2000 02:21:57 +0000
Subject: Identify a Word Document on the Fly
Groups: php.general 
Request: Send a blank email to php-general+get-17241@lists.php.net to get a copy of this message
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? The other formats, I'll allow are RTF and ASCII. The latter two are trivial. If there's a spec out there, I'd appreciate the link to it. TIA, Regards, Van ========================================================================= Linux rocks!!! http://www.dedserius.com =========================================================================

« previous php.general (#17241) next »