I'm trying to retreive information from an HTML free web page that consists of a simple ASCII string of pipe-delimited data.
The monitor is running on an internal web serber, listening for TCP/IP HTTP/GEt requests on Port 80. I'm trying to access it from a remote server.
The data returned from the server address is:
Cabinet 1|88.2|Cabinet 2|87.6|Cabinet 3|84.3|AC Output Temp.|66.5
I'm not sure what type of function to use since it is not a file. file() returns: Warning: file(http://[address]/temp): failed to open stream: HTTP request failed! Cabinet 1|87.3|Cabinet 2|87.9|Cabinet 3|84.1|AC Output Temp.|66.4 in /Users/temp/Sites/ITW/TempAlert/index.php on line 5
I'm trying to get the data and dump it in a database.
Thank you.