I like to fetch lots of data from another site daily... i want to fetch text data and some images and save them to my database... that site doesn't offer official API... there is a unofficial API, but i don't like that since it is not that great... is there any other way to fetch data ? I heard that CURL will help... but using CURL will consume huge server resource ? do CURL can fetch image from another site and save them to my site ? thanks you
You need to understand that scrapping the content may violet copyrights of the original site. And it is illegal in most countries. If you understand the risk associated, and the laws that you may be braking, you can use file_get_contents() function to fetch page data.