Webscraping arduino webserver

Hello!
I need to extract data from arduino webserver and show it to another webserver in a estetic way.

Now, my webpage created by arduino its like this(ho html code, no header no body,no tags. just this text:

LED: ON

Relay1: CLOSE
Relay2: OPEN

Temp=20.80
Umid=52.20

Misc=0

Pow=200w

I tried this, but it is not working:

<?php
$url = 'http://ip:port';
$output = file_get_contents($url);
echo $output;
?>

I tried this, but it is not working:

With a URL that really looks like this?

$url = 'http://ip:port';

This is an Arduino Forum, not a PHP or web-programming Forum.

…R