SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard Zaggs's Avatar
    Join Date
    Feb 2005
    Posts
    1,048
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP read word document into a string

    Hi Guys,

    Is it possible to convert (read) a word document (.doc file) into a string so that the content can be searched?

    Thanks in advance...

  2. #2
    SitePoint Member
    Join Date
    Sep 2006
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Zaggs View Post
    Hi Guys,

    Is it possible to convert (read) a word document (.doc file) into a string so that the content can be searched?

    Thanks in advance...
    You could use fread() statement to read a file!

    But I doubt whether it can be used to read a document file!

  3. #3
    SitePoint Wizard Zaggs's Avatar
    Join Date
    Feb 2005
    Posts
    1,048
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there anyway that you know how to convert a document file into a filetype that can be read by fread()?

  4. #4
    SitePoint Evangelist
    Join Date
    Aug 2005
    Posts
    453
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you taken a look at wvText ?
    Documnetation @ : http://wvware.sourceforge.net/
    Computers and Fire ...
    In the hands of the inexperienced or uneducated,
    the results can be disastrous.
    While the professional can tame, master even conquer.


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
  •