On Mon, 2002-12-09 at 13:41, Lokesh Setia wrote:
> 
> 
> Hello PHP'ers!
> 
> We wish to control a hardware device (a GPIB card) using a web
> interface.  This device is normally controlled using either:
> 
> 1. simple ioctl() calls to the linux kernel
> 2. by a higher level C-library which inturn calls these ioctl()s.
> 
> Does PHP support system calls like ioctl()? I was unable to find it in
> the PHP manual.  Or even better, can I use the high-level C library
> functions for this card from within PHP, without _too_ much of hacking
> into the internals of PHP ?
> 
I'm not an expert, but I think that your best bet is to write an
external module for php that creates the necessary bindings for your
high level API.
Check the docs for the details:
http://www.php.net/manual/en/zend.php

bye,

fbv


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to