
Just a quick post since this doesn’t seem to be very well covered, but could be useful to someone. You may be familiar with PHP’s file_get_contents function as a way to load the contents of a file into a variable. But it can also be used to get fetch the content of a site, by passing it a URL instead of a filepath. continue reading