Jump to content

Recommended Posts

I'm making a game I have finished but have spent days and still can't figure out this part or how it should be done:

 

Gamer will type in keyword on the form box on my page then click submit

 

the page will connect to yahoo search then save/put the address bar URL search result of the keywords into a variable onto my page but the gamer will never have his page directed to yahoo but continue staying on my page while this all happens.

 

 

Any Help in the right direction or some code would be appreciated?  :shrug:

Link to comment
https://forums.phpfreaks.com/topic/245640-need-help-retrieving-addrees-bar-url/
Share on other sites

What you want seems to me is to scrape yahoo results using your own keywords, then from their search results create more keywords.

 

How is that a game exactly?...anyway...

 

Well yahoo has an api for this and it costs money as well.

http://developer.yahoo.com/search/boss/

 

So unless you used curl, a scraper, a proxy, and do it without them knowing, the api is your best bet.

 

Google and Bing offer free api's.

http://code.google.com/apis/customsearch/

They stopped their websearch api.

 

http://msdn.microsoft.com/en-us/library/dd251056.aspx

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.