RE: [PHP] Till Drawers
| From: | Albert | Date: | Fri, 03 Feb 2006 11:37:17 +0000 |
| Subject: | RE: [PHP] Till Drawers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229799@lists.php.net to get a copy of this message | ||
Oli Howson wrote:
> I'm interested in the possibility of connecting a computer running A
> PHP server to a till drawer and have the server able to open the
> drawer. Anyone know how this would work?
That all depends on how your till drawer opens.
The easiest would be to write a command line utility in C which opens your
cash drawer. When you need to open the drawer you run the application from
the PHP script using exec().
Albert
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.0/249 - Release Date: 2006/02/02