Thread: php
View Single Post
  #1 (permalink)  
Old 06-19-2008, 05:22 PM
pragan pragan is offline
Newbie
 
Join Date: Jun 2008
Posts: 3
Credits: 0
Rep Power: 0
pragan is on a distinguished road
Default php

hi,

I am trying to write a script which can do the following. I do not have any idea of how to write it ..but have the idea of how it should/will work.

I have a list of words in an mysql db(almost 1000 words). I need to take each word and then put in the search query of any search engine(for example ask.com) and store the result that appears under "related words"/"suggested words"/"narrow your search words" in a file.

Example:
If you search for the word "forum" in ask.com, we can see the url as
forum - Ask.com Web Search

and the search result page contains "Narrow Your Search"

Roman Forum
Free Forum
..
...
etc.

So I need to write a script that can take word by word from my mysql db and put it in the url (as below) and then store only the "result under "Narrow your search result" in a file.
Ask.com Search Engine - Better Web Searchnextword&search=search&qsrc=0&o=0&l=dir

Please let me know if its something possible and if I can have look at any examples..I would need to complete this as soon as possible.

I can explain it in a more better way if the above explanation is not clear.

Regards

Last edited by pragan; 06-19-2008 at 05:25 PM.
Reply With Quote

Sponsored Links