Jump to content

generate readonly Word doc


patrickpdx

Recommended Posts

Hi there,

 

I am using WAMPSeerver, I can use the following code to generate WORD Doc on the server, but don't know how to make it "Read only".

 

// put all the contents in the variable $message

 

    $fp  =  fopen($outputname,  'w+');
    fwrite($fp,  $message);
    fclose($fp);
 

Please help if anyone know.

 

Thanks. P

 

Link to comment
https://forums.phpfreaks.com/topic/277456-generate-readonly-word-doc/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.