Hi.
I have a system that prints forms with the information coming from a database. I coded to print the forms in html to the screen and also saved it as a file (.doc) in a directory so I can open that file in Microsoft Word.
My question is: Is there a way to lock the file (I guess make it read only when you are actually viewing it in word) so the person who is viewing it can not make any changes to the document. I know at the point you are viewing it in word you are now out of the php environment so is there some php code that can be written before the file is actually opened in word?
Thanks