PHP and Microsoft Word

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • datamodeler@yahoo.com

    PHP and Microsoft Word

    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.

    Mike

  • Michael Vilain

    #2
    Re: PHP and Microsoft Word

    In article <1112067083.934 149.124680@f14g 2000cwb.googleg roups.com>,
    "datamodeler@ya hoo.com" <datamodeler@ya hoo.com> wrote:
    [color=blue]
    > 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.
    >
    > Mike[/color]

    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...



    Comment

    Working...