How to create a simple Microsoft Word document with PHP only
I’ve had the need to create several word documents over the years for various clients and found the simplest way to do it without having to install specific libraries or third party software is to just create the document with plain PHP.
The following script will create a word document named document_name.doc. When you browse to the page with this script the page will automatically prompt you to open or save the file.
Continue reading “PHP Simple Word Document Example”