Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to search data from the computer using language

 
Megha Singhal
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to know if i am having a folder in which data are like pdfs, excel sheet, word file, etc so and i want search these files on some key word that can be anywhere in the document.
so how can i do that using php.
 
Megha Singhal
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Megha Singhal wrote:i want to know if i am having a folder in which data are like pdfs, excel sheet, word file, etc so and i want search these files on some key word that can be anywhere in the document.
so how can i do that using php.


and the keyword i provide through text field and provide path to that document folder and then i search within that folder for particular keyword given by the user through text box.

kindly help me in this.
 
K. Tsang
Bartender
Posts: 3397
13
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once the file is opened/read, searching the file becomes the easy part. But first you to first determine the file type and read it. Now reading different type files may need some work. You may want to look into the linux utilities or open source libraries because I don't think PHP itself can do all these types.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic