RE: [PHP] Re: How could I make the browser to send a command to a cash register...

2006-09-11 Thread Jay Blanchard
[snip] It's a RS232 serial register. PHP, running at the server side, could talk to the hardware at the client side? Or is it ActiveX? [/snip] You're correct, server-side cannot perform a client-side task. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[Fwd: Re: [PHP] Re: How could I make the browser to send a command to a cash register...]

2006-09-11 Thread Mitch Miller
Just realized I forgot to CC: the original list on my reply below. I also have since realized that using the solution in my reply below, the SERVER *COULD* cause the register to open. On the server side, a script that connects to HTTP://ip-of-register-to-open:secret-portnum would cause the

Re: Re: [PHP] Re: How could I make the browser to send a command to a cash register...]

2006-09-11 Thread Satyam
I guess that embedding an ActiveX object to open the drawer into the web page would be the easiest option for the application programmers to handle. It would give the added flexibility to use JavaScript on the client side to call the object method to open the drawer, besides sending the page