Re: Identify a Word Document on the Fly
| From: | Cynic | Date: | Mon, 25 Sep 2000 22:57:10 +0000 |
| Subject: | Re: Identify a Word Document on the Fly | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17384@lists.php.net to get a copy of this message | ||
%serverroot%/conf/mime:
0 string \376\067\0\043 application/msword
0 string \333\245-\0\0\0 application/msword
At 05:54 PM 9/23/00 -0400, Andreas Pour wrote the following:
--------------------------------------------------------------
>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@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz
ICQ: 2808 2505