Hi all, I am working in company and i am new in php .. we need one php content scrapping code .. how i can develop it any idea or help or any site which help me about it.. i have no idea about it.. please help me i am very thankfull to you .... Thanks
You have to use CURL library of php. And with the help of regular expressions you can write the code for fetching the data from different sites.
Not 100% sure about your question, if you're trying to get the info off other websites, and they don't require login. $html_source = file_get_contents('http://www.site.com/asd.txt'); or $html_source = file_get_contents('http://www.site.com/product.html?id=' . $product_id); or $html_source = file_get_contents("http://www.site.com/product.html?id=$product_id"); The last 2 do the same thing.