happyhippy Posted August 24, 2011 Share Posted August 24, 2011 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? Quote Link to comment https://forums.phpfreaks.com/topic/245640-need-help-retrieving-addrees-bar-url/ Share on other sites More sharing options...
QuickOldCar Posted August 25, 2011 Share Posted August 25, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/245640-need-help-retrieving-addrees-bar-url/#findComment-1261637 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.