RE: [PHP-WIN] Re: coffee message
| From: | Erik H. Mathy | Date: | Mon, 17 Dec 2001 21:11:44 +0000 |
| Subject: | RE: [PHP-WIN] Re: coffee message | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10961@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 xo 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.
Actually, you bring up a good point. :)
But, if he's stuck with Win2k on a CMB VIC20 he might want to consider
ditching IIS5 and going with something really small, like Xitami. He can run
the exec() through PHP as suggested with minimal memory/processor usage.
I don't even want to consider the security aspects of a Win2K/IIS5 install
on a nuclear installation, though! :0