Free eBooks Download - Loan - Cheap Loan - Life Insurance - Arturo Perez Reverte

PDA

View Full Version : Porting the Search Engine


jsbeads
May 7th 2004, 8:20 am
Has anybody had any luck with porting the Search Engine Code (PHP) to ASP.

I'm can't figure out how to handle the fopen() commands.

Before I get flamed my hosting company does not support PHP on their windows platforms. I have another site that does and I have the PHP code working there .

But when calling a search from my domain site, the other site shows the results. I would just like something a little neater, plus I would like to log the searches.

digitalpoint
May 7th 2004, 8:23 am
Well truthfully, even if you ported the script code, the backend search server gives the script a nicely formatted PHP array, so you would need to also alter the results from the search server as well.

- Shawn

jsbeads
May 7th 2004, 10:12 am
I looked at that. This is a great peice of code.

I just want it to look like the resturn file is on my own server. Like I saind my primary is not set up to run PHP. I guess I could do a B DNS.

I want
http:://mydomain/results

not
http://10.10.32.01/results

digitalpoint
May 7th 2004, 10:16 am
You could put it in a frame with only one frame window so the URL stays local...

- Shawn

jsbeads
May 11th 2004, 1:54 pm
I ported it using the Microsoft.XMLHTTP Function then I looked at the rest of the files in the tool kit.

So I just rewrote the whole program using the direct http calls using the google api /xml/soap object thingies.

This allowed me to add spell checking and integrate it into my current shopping carts.

If I had not seen your program I would have never had figured it out on my own.

Great Job --

digitalpoint
May 11th 2004, 1:57 pm
Yeah, that was going to be another suggestion... might be easier to simply make calls directly to Google, rather than port it. My setup is designed for people who don't want to get into the complexities of programming. So I would assume if they had the ability to port it, then they probably have the ability to simply make calls directly to Google. :)

- Shawn

netprophet
Sep 14th 2006, 10:57 pm
informative thread...... :)