Posted by nop on 07/30/05 00:46
Richard Follet wrote:
> Hi,
>
> I must read an HTML-free web page. The only documentation I have is this
> : :
>
> temp: This request will return an HTML-free web page, consisting of a
> simple ASCII string of pipe-delimited data. The data will be in the
> format of :
>
> "PROBE1_NAME|TEMP|PROBE2_NAME|TEMP…"
>
> How can I do ?
>
> Thanks
Do you mean something like following ?
$txt = file_get_contents('http://www.somewhere.net/page.html');
$token = explode ('|', $txt);
var_dump ($token);
Navigation:
[Reply to this message]
|