Scraping website content with PHP using Curl
The function below takes a URL and connects to it and returns all the contents.
How do I use it?
See the code below for an example implementation of the function.
$content will then become the full HTML of the page, so outputting it will replicate the page in it's entirety. Do with it what you will.
Enjoy this article? Why not subscribe to the full RSS feed?


