PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Miftakhul Ulum   PHP DOCX Metadata   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: PHP DOCX Metadata
Parse and extract information from Word DOCX files
Author: By
Last change:
Date: 11 years ago
Size: 743 bytes
 

Contents

Class file image Download
<?php
   
include("docx_metadata.php");
   
$docxmeta = new docxmetadata();
   
   
$docxfile = "Bio.docx";
   
$docxmeta->setDocument($docxfile);
    echo
"<strong>File : ".$docxfile . "</strong><br>";
    echo
"Title : " . $docxmeta->getTitle() . "<br>";
    echo
"Subject : " . $docxmeta->getSubject() . "<br>";
    echo
"Creator : " . $docxmeta->getCreator() . "<br>";
    echo
"Keywords : " . $docxmeta->getKeywords() . "<br>";
    echo
"Description : " . $docxmeta->getDescription() . "<br>";
    echo
"Last Modified By : " . $docxmeta->getLastModifiedBy() . "<br>";
    echo
"Revision : " . $docxmeta->getRevision() . "<br>";
    echo
"Date Created : " . $docxmeta->getDateCreated() . "<br>";
    echo
"Date Modified : " . $docxmeta->getDateModified() . "<br>";
?>