Okay, I’m kind of a php n00b, having just come from the land of the asp.
I’m trying to use file_get_contents() to retrieve a file like so:
$newsxml = file_get_contents ( “…\admin\sitecontent.php?type=0” );
It doesn’t work unless I remove the querystring. I took the stuff returned from the above php script and saved it as sitecontent.php.xml. And hey, what do you know, it works with the following code:
$newsxml = file_get_contents ( “…\admin\sitecontent.php.xml” );
So my question is, how do I get the contents of a php script with a querystring?