Insert some text at the end of a Microsoft Word .doc File

Discussion in 'Programming/Scripts' started by dpicella, Nov 18, 2009.

  1. dpicella

    dpicella New Member

    I want to insert some text at the end of a Microsoft Word .doc file.

    The procedure will be called from php and that is the only requirement.

    It is a bit like saying:

    # echo "some text" >> file.txt

    in linux.

    Does anyone have any ideas about how this might be done? I have no idea how a Microsoft Word .doc file is formatted.
     
  2. btomasik

    btomasik New Member

    Good luck, consider this article and api.openoffice.org
     

Share This Page