1

So I save .docx files in my database as mediumblob, when I want to show it, it looks like this:

PK!ߤ�lZ [Content_Types].xml

I already have a class that can read this, but that class needs a file and can't read from the database directly:

How to extract text from word file .doc,docx,.xlsx,.pptx php

Is there a way to directly read this from the database without needing to use file_put_contents();?

Thank you for helping.

Ken Keenan
  • 9,818
  • 5
  • 32
  • 49
nordin
  • 161
  • 1
  • 12
  • 1
    You could try to utilize the php temp or memory wrapper. http://php.net/manual/en/wrappers.php.php – Kryptur May 20 '19 at 13:11

0 Answers0