Hi, I am in a process of selecting a PHP framework which we will use for development of websites. we are almost ready to go with CodeIgniter an/or Zend.

However, in our newest project we need a functionality which allows to upload text (with styles) from Word Document to database, so the framework which will allow us to do it in the easiest way will probably win :).

Can you advice me if any of PHP framework can easily handle a process of converting content from Word Doc to html code which will go to database? If not framework, any other function/library can help us to do so?

I think Zend Framework wins using LiveDocx component: http://www.phplivedocx.org/downloads/

Antiword would be an alternative, it's a UNIX app, can be executed from PHP using exec()

<?php
exec('/usr/local/bin/antiword /opt/lampp/htdocs/example.doc', $output);
?>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.