Jump to content

[SOLVED] Question about PHP site search


SocomNegotiator

Recommended Posts

Well I have surfed around and I can not find a thing that will work. I am trying to find a simple tutorial or something on how to create a site search engine in php. I need it because the user will have a page where they need to search for items...and based on the name they search for it will give results. I just can't find anything. Any help would be much appreciated

 

Thanks

Link to comment
Share on other sites

PHP is not a system for storing and retrieving data. What you need is to either:

 

(1) Store all your page content in a MySQL database and then search that with the help of PHP.

(2) Use Python to make a cache of all the pages on the site, and this search this cache (much like Google).

 

I wouldn't use PHP to do a scheduled caching of a site, you can but I think it's better to use Python for stuff like that.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.