Watermark problem in appending

Discussion in 'PHP' started by atiqkhan, May 6, 2010.

  1. #1
    Hi All!

    I have doc ( word ) file which has a watermark in it . I want to append some text in it so that the text comes in front of Watermark . In other words , there is a background image in a word file , in front of which I want to append some text and then want to send that word as an attachment . I have tried the following but the text not appending due to watermark in it . Please any body can help me ..... Thanks in advance....

    I am using this ....

    $msg="I am testing. I am testing. I am testing. I am testing. I am testing. I am testing. I am testing. I am testing.
    I am testing. I am testing. I am testing. I am testing. I am testing. I am testing. I am testing. I am testing. ";
    $my_file = "frank.doc";
    $ourFileHandle = fopen($my_file, 'a');
    fwrite($ourFileHandle, $msg);
    fclose($ourFileHandle);

    PLease note the file frank.doc contains watermark . Its totally PHP....
     
    atiqkhan, May 6, 2010 IP