更新时间:2023-02-14 08:08:16
要获取doc,docx,ppt和pptx的元数据属性,例如页数,幻灯片数**USING PHP**
,我按照以下过程进行了操作,并且很喜欢魅力和iam非常高兴,下面是我遵循的过程,希望它对某人有帮助
To get meta data properties of doc,docx,ppt and pptx like number of pages, number of slides **USING PHP**
i followed the following process and it worked liked charm and iam so happy, below is the process i followed , hope it helps someone
**Download and configure Apache Tika.**
完成后,您可以尝试执行以下命令,它将提供有关文件的所有元数据
once its done you could try executing the following commadn it will give all the meta data about your file
java -jar tika-app-1.5.jar -m test.docx
java -jar tika-app-1.5.jar -m test.doc
java -jar tika-app-1.5.jar -m test.pptx
java -jar tika-app-1.5.jar -m test.ppt
经过测试,您可以在PHP脚本中执行此命令.谢谢.
once tested you can execute this comman in PHP script. Thanks.