ParseDocNew($product_code, "Test.docx", base64_encode($contents), "", "", "", ""); # Print results echo $result."\n"; ?>