Soluzione "semplice":

https://www.php.net/file_get_contents

Soluzione "complicata":

https://www.php.net/manual/it/curl.examples-basic.php