I've got this code:
$path = $site."/".$stylesheets[0] ("http://example.com/thecssfile.css")
$css = file($path);
But now, there is the sourcecode of http://example.com in the $css variable. How can I get the code of http://example.com/thecssfile.css. If I set the $path variable directly to "http://example.com/thecssfile.css" it works but I want it dynamic.