Is this possible to extract images from MS Word Documents using PHP? And if so, how?
Requirement: Definitely old-shool doc support, but preferably both old and new.<
If you are extracting images from older files you have a couple of options.
Run a converter to update all files to DocX then use IntermediateHacker's code.
Find the VBA code necessary to extract the images, and then either create a macro and call this code via PHP's COM interface functions or call the code yourself via these functions.
The first thing to do though is find how to do it in VBA, that will make it much easier to do it in PHP.