I want to search a particular url from all over the web.
like if i search for www.stackoverflow.com
then it displays those URL who uses the www.stackoverflow.com
links in their site or webpages. i want to do that through PHP script. Please help me how to that or provide some URLs from where i can find the help for solution.
Seems almost impossible to do this by crawling the web yourself. Even Google has issues with that. It is possible though by using a tool like MajesticSEO API. Not sure if it's free. I believe they only have the API for paid customers.
MajesticSEO API provides you with link information to root-, subdomain or page level link data. And it will help you to come close to what I think you are looking for. You can pull the data with PHP and use it in any way you want. If it's allowed by their conditions of course.