PHP talking to hardware at client PC?

David Bandel david.bandel
Sat Sep 9 05:02:41 PDT 2006


On 9/9/06, Man-wai CHANG <mwchang at i-cable.com> wrote:
>
> How could I make a PHP program running inside Firefox, to make a call to
> a cash register's drawer attached to the Firefox PC? You can't do that
> without using IE and ActiveX, can you?
>

You probably also believe M$ invented the Internet.

While I would have used Perl vice PHP, you embed Javascript in the
code sent to Firefox.

Perl/PHP: run on the server and perform tasks on the server (like
accessing the PostgreSQL server)
Javascript:  runs on the client and performs tasks on the client (like
opening the drawer)

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto



More information about the Linux-users mailing list