PHP and Microsoft Word

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

This one has me stumped.

I have users who can sent a Word document as an attachment to an email
from a Microsoft-rich environment.  I would like to be able to
"capture" that attachment as a blob and deposit it into a mysql
database.  I am not sure how to do the capture.

Help --- and thanks in advance.


Re: PHP and Microsoft Word

Quoted text here. Click to load it

well, how would you read email from php?  php resides on the web server.
email might be local on the local machine or on a remote server.  I
don't think php is the right tool for this given that perl has CPAN
modules explicitly to do mail handling as well as database interfaces to
most of the popular DBMS'.

Once you have this document stored as a blob, what are you going to do
with it?  You'd have to extract it and read it with Word on a local
machine.  Why bother storing it in a database at all.  Why not just
store the filename and location in the database?

I'm confused on what you're trying to accomplish here.

DeeDee, don't press that button!  DeeDee!  NO!  Dee...

Site Timeline