How can I collect stream data with PERL or PHP and write to a file or database

Associate
Joined
10 Dec 2008
Posts
510
Location
127.0.0.1:80
I'm currently working on a project to link some hardware to our business infrastructure, it simply collects on/off information from machines in a workshop. I'm having problems writing stream data to a file using PERL, does anyone know a simple way to do this?

Also wanting to link my PERL to a PHP page so that I can more easily collect the data and in the end get it directly onto a database.

Not bothered which way it gets done, if there is a way to collect the data and write it straight to a database that would also be awesome.

Thanks.
 
Back
Top Bottom