P
pg_exoshear
Guest
I'm wanting to gather information off another page using PHP -- page here http://www.wulfram.com/server_info.php
Basically, I'm wanting the server information and nothing else. ;-)
The code I know is as follows...
<?
$contents = implode("",file("http://www.wulfram.com/server_info.php") );
echo($contents);
?>
This works great, it pulls everything off the server page and displays it on my page. But, I only want specific bits of information.
Someone had done a simlar thing before for their website. So I know it can be done, but not how. Sigh, it'd be easier if I could find an example on the internet.
Anyway, if you can figure out what I want, any help would be great!
Basically, I'm wanting the server information and nothing else. ;-)
The code I know is as follows...
<?
$contents = implode("",file("http://www.wulfram.com/server_info.php") );
echo($contents);
?>
This works great, it pulls everything off the server page and displays it on my page. But, I only want specific bits of information.
Someone had done a simlar thing before for their website. So I know it can be done, but not how. Sigh, it'd be easier if I could find an example on the internet.
Anyway, if you can figure out what I want, any help would be great!