By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

Parse Doc file using php

P: 1
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?
Apr 28 '07 #1
Share this Question
Share on Google+
3 Replies


100+
P: 136
Hi,

U can read the file content using the file_get_contents() 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.

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
Apr 28 '07 #2

mwasif
Expert 100+
P: 801
You can read the Doc file using COM.
Apr 28 '07 #3

100+
P: 136
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.

You can read the Doc file using COM.
susen
Apr 28 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.