Click to See Complete Forum and Search --> : Multiple searches in single PHP page?


kennyritch
February 16th, 2005, 05:22 PM
Hi Folks

Imagine you have three separate websites, each with their own search engine. I want to build a single search page on my website that passes a search term to each of these three websites and returns the results as a single page, with each site's results separated with an appropriate heading.

I'm pretty sure something like this could be done with PHP but I'm unsure where to start. Any ideas or thoughts?

Cheers,
Kenny.

AndyTower
February 16th, 2005, 07:47 PM
Imagine you have three separate websites, each with their own search engine. I want to build a single search page on my website that passes a search term to each of these three websites and returns the results as a single page, with each site's results separated with an appropriate heading.

I'm pretty sure something like this could be done with PHP but I'm unsure where to start. Any ideas or thoughts?


I think you can used function fopen().
Passing to this function URL and read file.
After this write information into one file for viewing.