This shouldn't be a complicated solution but it's somehow beyond me at the moment.
There is a php script on an external server that is writing javascript document.writes that we are supposed to include in our html files. However, we don't like the layout so I'm trying to strip the data we don't need(shouldn't be a problem) but for something reason I can't get php to read it. It's not a php problem, it's just I'm doing the wrong things.
I tried
$sitedata = include("link.to.file");
echo $sitedata;
That didn't work.
What's the right way of getting the data into a php variable so I can begin editing it?
Thanks.