In PHP:
Codice PHP:
$filename    'local.html';
$remote_site 'http://www.example.com';
file_put_contents($filenamefile_get_contents($remote_site));