Forum


Replies: 1   Views: 3206
Using docx2txt
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by kinguk  · 21-03-2014 - 23:24

Having issues with docx2txt, I have changed to linux hosting and now when I use the following code it outputs the file on screen (like an echo) rather than declaring it in my $file_original var.



        require_once $ph . 'common/phpdocx/classes/CreateDocx.inc';    

        $docx = new CreateDocx();

        $docx->docx2txt($document_path, $output);

        

        $file_original = file_get_contents($output);



This code ahs worked on both a previous linux and windows server.



Could this be an issue with my new server or just that a file hasn't uploaded correctly?



Thanks