Re: Calling an External Program to get Data from a Device connected to the com port
| From: | Andrey Hristov | Date: | Thu, 11 Oct 2001 16:19:06 +0000 |
| Subject: | Re: Calling an External Program to get Data from a Device connected to the com port | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13254@lists.php.net to get a copy of this message | ||
Read about system(), exec()
or
$output=
cmd.exe /c dir c:\\;
` is the symbol on the button of ~
--
Andrey Hristov
Web Developer
IcyGEN Corporation
BALANCED SOLUTIONS
http://www.icygen.com
On Thursday 11 October 2001 19:15, you wrote:
> 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