with text is very easy...
$tmp=file_get_contents('http page')
$tmp=explode("\n",$tmp); (now you have many lines)
foreach ($tmp as $line){
  $tmp2=explode("\t",$line); (now you have key/value)
  $key = $tmp2[0];
  $value = $tmp2[1];
}

with json is easier
$tmp=json_decode(file_get_contents('http page'),true);
$tmp['values']

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to