Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Exceptions has a deprecated constructor in /home/vhosts/mydemo.ueuo.com/system/libraries/Exceptions.php on line 27

Notice: Only variables should be passed by reference in /home/vhosts/mydemo.ueuo.com/system/codeigniter/Common.php on line 148

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Hooks has a deprecated constructor

Filename: libraries/Hooks.php

Line Number: 30

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Config has a deprecated constructor

Filename: libraries/Config.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_URI has a deprecated constructor

Filename: libraries/URI.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Router has a deprecated constructor

Filename: libraries/Router.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Output has a deprecated constructor

Filename: libraries/Output.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Input has a deprecated constructor

Filename: libraries/Input.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Language has a deprecated constructor

Filename: libraries/Language.php

Line Number: 27

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Base has a deprecated constructor

Filename: codeigniter/Base5.php

Line Number: 33

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Controller has a deprecated constructor

Filename: libraries/Controller.php

Line Number: 30

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Loader has a deprecated constructor

Filename: libraries/Loader.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

PHP to Word demo

Not the prettiest demo, but you'll get the picture

Fill the form and then press Download your document to get a sample Word document

Download your document
Notes:
  1. If you get a .xml file, it means that your browser's UA string doesn't contain the word 'Windows'. It should still open with OpenOffice.org and MS Office.
  2. If you get a .doc file and you use OpenOffice.org, you must change the extension of the downloaded file from .doc to .xml.
  3. Drag the resulting document into a simple text editor window (e.g. Notepad) to see the XML.

Licenţa Creative Commons
PHP to Word demo - Article describing the trick (@Klewos).
Powered by CodeIgniter

Free Web Hosting