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; ?>