Jump to content

PHP Flat search


houssam_ballout
 Share

Recommended Posts

i am not sure..search enguine for what?...are you looking for searchin your php files located at your filesystem..or any other? (eg like searching in db)

Link to comment
Share on other sites

i am assuming you are looking for page content searchyou can traverse your folder(where holds document) to get each file using globthen get each file data using file_get_contents...chek for certain values (search key) using preg_match if matches found return the file location..as a founded file.and i think probably its possible with DOM also.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...