|
Posted by elyob on 07/27/06 01:32
"Chung Leong" <chernyshevsky@hotmail.com> wrote in message
news:1153962861.032797.37480@m73g2000cwd.googlegroups.com...
>
> elyob wrote:
>> Hi, I'm opening a remote file on a regular basis, the data is in the
>> following format and has a line feed of "0D 0A". The spaces are 20 in hex
>> mode.
>>
>> 2006-07-26 22:00:03.000000 4.370996 51.656616
>> 2006-07-26 22:00:03.000000 2.599964 49.286836
>> 2006-07-26 22:00:03.000000 0.876824 48.418013
>> 2006-07-26 22:00:04.000000 1.543656 50.926529
>> 2006-07-26 22:00:04.000000 1.070219 48.759254
>>
>> Firstly, this incoming data is oldest first and is continually updating.
>> However it only shows the previous hours data. My main aim is to take
>> this
>> data and split it into an array. Currently I'm using file_get_contents(),
>> and am just wondering what the best method to get this into a workable
>> format?
>>
>> Thanks
>
> http://fi.php.net/file
>
I always like short answers, thanks!
Navigation:
[Reply to this message]
|