Parse Doc file using php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swatiadawade
    New Member
    • Apr 2007
    • 1

    #1

    Parse Doc file using php

    I need to read resumes from DOC, RTF and text file and fill in
    the relevant fields in database.
    My application is based on PHP
    can anyone help me?
  • devsusen
    New Member
    • Feb 2007
    • 136

    #2
    Hi,

    U can read the file content using the file_get_conten ts() function. But if the file is DOC or RTF format I think extracting the necessary or relevant information from the file will be not be a easier task. u need to use collection of words of relevant words and also need to use pattern searching.

    Do do this u need to be master in file handling using php and regular expression expert.

    Originally posted by swatiadawade
    I need to read resumes from DOC, RTF and text file and fill in the relevant fields in database. My application is based on PHP
    can anyone help me?
    susen

    Comment

    • mwasif
      Recognized Expert Contributor
      • Jul 2006
      • 802

      #3
      You can read the Doc file using COM.

      Comment

      • devsusen
        New Member
        • Feb 2007
        • 136

        #4
        Hi,

        its true that u can use COM for reading the files. But there r 2 requirements u need to fulfill to do this.
        1. Server has be Windows server.
        2. COM support has to be installed for php.

        If the 2 above said condition fulfilled then u can go for using COM, but in most cases u will get LAMP rather than WAMP.

        Originally posted by mwasif
        You can read the Doc file using COM.
        susen

        Comment

        Working...