Porting the Search Engine

Discussion in 'Products & Tools' started by jsbeads, May 7, 2004.

  1. #1
    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.
     
    jsbeads, May 7, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    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
     
    digitalpoint, May 7, 2004 IP
  3. jsbeads

    jsbeads Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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
     
    jsbeads, May 7, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    You could put it in a frame with only one frame window so the URL stays local...

    - Shawn
     
    digitalpoint, May 7, 2004 IP
  5. jsbeads

    jsbeads Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    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 --
     
    jsbeads, May 11, 2004 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    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
     
    digitalpoint, May 11, 2004 IP
  7. netprophet

    netprophet Banned

    Messages:
    288
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    informative thread...... :)
     
    netprophet, Sep 14, 2006 IP