I have the following code:
<?php
function get_content($URL)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $URL);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}
echo get_content('https://www.example.com');
?>
Here I get the content from an external page with get_content from PHP where the html page aswell the css are being loaded.
How can I disable the Css file from this page and use my own stylesheet and is this even possible?