Re: Re: coffee message
| From: | LaserJetter | Date: | Mon, 17 Dec 2001 21:09:20 +0000 |
| Subject: | Re: Re: coffee message | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10959@lists.php.net to get a copy of this message | ||
If you had some kind of temperature sensor on the coffee pot and this was
connected to a machine running Apache+PHP and an interace program, the php
page could use exec() to run the interface program say every 5 seconds to
retrieve the temperature and if it was above say xº it could print "Coffee
ready" in the browser window (or active desktop on Win).
If it was a unix machine, it could send a messgae to all the networked
terminals in the workgroup i.e. those associated with coffe machine 1.
"B.A.T. Svensson" <B.A.T.Svensson@lumc.nl> wrote in message
news:27E647E5629ED211BF78009027289C6302157D6F@mail1...
> We are in Harrisburg...
>
> >-----Original Message-----
> >From: alain samoun [mailto:alain@sonic.net]
> >Sent: Monday, December 17, 2001 10:00 PM
> >To: Svensson, B.A.T. (HKG); php-windows@lists.php.net
> >Subject: RE: [PHP-WIN] Re: coffee message
> >
> >
> >Yes, actually it does as there are several COM to control the serial
port.
> >But your nuclear powered coffee machine would probably better be
controlled
> >by something that has no relation with M$, or just tell us where your
> >installation is so we can move.
> >A+
> >Alain
> >
> >-----Original Message-----
> >From: Svensson, B.A.T. (HKG) [mailto:B.A.T.Svensson@lumc.nl]
> >Sent: Monday, December 17, 2001 12:55 PM
> >To: php-windows@lists.php.net
> >Subject: RE: [PHP-WIN] Re: coffe message
> >
> >
> >The only thing I found about COM with php was the Component
> >Object Model,
> >and that doesn't really relate to the serial port, does it?
> >
> >>-----Original Message-----
> >>From: alain samoun [mailto:alain@sonic.net]
> >>Sent: Monday, December 17, 2001 9:48 PM
> >>To: LaserJetter; php-windows@lists.php.net
> >>Subject: RE: [PHP-WIN] Re: coffe message
> >>
> >>
> >>Maybe also possible using some COM locally if the machine has
> >>a serial port.
> >>A+
> >>Alain
> >>
> >>-----Original Message-----
> >>From: LaserJetter [mailto:newsaddress@saracenvsu.org.uk]
> >>Sent: Monday, December 17, 2001 12:42 PM
> >>To: php-windows@lists.php.net
> >>Subject: [PHP-WIN] Re: coffe message
> >>
> >>
> >>Yes, if you had a coffee machine with a network socket and
> >>supporting TCP/IP
> >>I can see that this would clearly be possible using sockets!!!
> >>
> >>
> >>
> >>"B.A.T. Svensson" <B.A.T.Svensson@lumc.nl> wrote in message
> >>news:27E647E5629ED211BF78009027289C6302157D67@mail1...
> >>> Is there a way for PHP to check the coffee machine if the
> >>coffee is ready?
> >>>
> >>> Maybe someone has a sample brew for me?
> >>
> >>
> >>
> >>--
> >>PHP Windows Mailing List (http://www.php.net/)
> >>To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> >>For additional commands, e-mail: php-windows-help@lists.php.net
> >>To contact the list administrators, e-mail:
> >>php-list-admin@lists.php.net
> >>
> >>
> >>--
> >>PHP Windows Mailing List (http://www.php.net/)
> >>To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> >>For additional commands, e-mail: php-windows-help@lists.php.net
> >>To contact the list administrators, e-mail:
> >>php-list-admin@lists.php.net
> >>
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-windows-help@lists.php.net
> >To contact the list administrators, e-mail:
> >php-list-admin@lists.php.net
> >
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-windows-help@lists.php.net
> >To contact the list administrators, e-mail:
> >php-list-admin@lists.php.net
> >