Calling an External Program to get Data from a Device connected to the com port
| From: | Robert Trembath | Date: | Thu, 11 Oct 2001 16:15:37 +0000 |
| Subject: | Calling an External Program to get Data from a Device connected to the com port | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13253@lists.php.net to get a copy of this message | ||
Hi everyone,
Got a new one across my desk this morning that I need a little direction on.
First, this is on a Windows 2000 Server running PHP 4.04, IIS5 and MySQL. Second, I want to call a
dos window(cmd.exe) and execute a couple of commands that will communicate with a lab device
connected to a com port on the server. I then need to capture the output and save it in MySQL.
Anyone done anything like this before? And advice would be helpful.
Thanks,
Robert