SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast morrty's Avatar
    Join Date
    Oct 2008
    Location
    Ontario, Canada
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hate my Job somedays.

    So I have been assigned this really dull task of updating the company intranet with hundreds of .doc files that need to be posted and readable online.

    For a while I've been converting the .doc files into PDF and just linking to it so they can read it but due to the fact these files are updated way to often I was wondering how I can go about making a dynamic page that is built from a couple .doc files. When the user updates these files it will automatically change on the intranet as well due to the fact it gets dynamically built.

    I thought hey maybe I can show these users how to convert the files to PDF but were talking computer illiterate here.

    Please help me out, looking for a function in PHP that will display information from a .doc file so I can built a page from several .doc files.

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)

  3. #3
    SitePoint Enthusiast morrty's Avatar
    Join Date
    Oct 2008
    Location
    Ontario, Canada
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I gave that a try not really what I was after, although I did find this:

    http://www.phpclasses.org/browse/package/388.html

    and used this as my code:

    PHP Code:
    <?php
    require ("wordconvert.php");
        
            
    $filename="c:/test.doc";
            
    $ext "htm";
            
    $ext 8;
            
    $vis1;

    new 
    wordconvert($filename,$ext,$vis);
    header("Location: test.htm");
    ?>


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •