new --- a question
am 03.01.2008 15:34:04 von germana
Hi!!!
im new here, and this is my first question:
i have a hardware device which have to be connected to the PC by the
serial port... So, i have to do an application to recive the data from
that device....
the question is.... Can i do that - the comunication between the device
and the PC - using a PHP web application ???? How??? Using the Socket
functions???
Thanks!!!!
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: new --- a question
am 03.01.2008 18:12:43 von Warren Vail
If you device is available via a com port, then using file IO is probably
best, but if that is not enough try;
http://us.php.net/manual/en/ref.dio.php
This goes without saying, the very real potential for hacking a computer
with device exposure via a web interface can be disasterous, so caviat
emptor ;-)
Warren
> -----Original Message-----
> From: germana [mailto:germanaoliveirab@gmail.com]
> Sent: Thursday, January 03, 2008 6:34 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] new --- a question
>
> Hi!!!
>
> im new here, and this is my first question:
>
> i have a hardware device which have to be connected to the PC by the
> serial port... So, i have to do an application to recive the data from
> that device....
>
> the question is.... Can i do that - the comunication between the device
> and the PC - using a PHP web application ???? How??? Using the Socket
> functions???
>
> Thanks!!!!
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: new --- a question
am 03.01.2008 18:18:58 von germana
My application will be a internal application and usually is going to be
use by not to much people... i want to do a web application because of
the simplicity for the users...
Thanks!!!
On Thu, 2008-01-03 at 09:12 -0800, Warren Vail wrote:
> If you device is available via a com port, then using file IO is probably
> best, but if that is not enough try;
>
> http://us.php.net/manual/en/ref.dio.php
>
> This goes without saying, the very real potential for hacking a computer
> with device exposure via a web interface can be disasterous, so caviat
> emptor ;-)
>
> Warren
>
> > -----Original Message-----
> > From: germana [mailto:germanaoliveirab@gmail.com]
> > Sent: Thursday, January 03, 2008 6:34 AM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] new --- a question
> >
> > Hi!!!
> >
> > im new here, and this is my first question:
> >
> > i have a hardware device which have to be connected to the PC by the
> > serial port... So, i have to do an application to recive the data from
> > that device....
> >
> > the question is.... Can i do that - the comunication between the device
> > and the PC - using a PHP web application ???? How??? Using the Socket
> > functions???
> >
> > Thanks!!!!
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php