Re: [PHP] system('bell'); ?

2006-02-06 Thread Oli Howson


each of the terminals could then use a web based POS interface but 
there was only a

single cash drawer.


It would also be possible to have each 'till' running a copy of apache 
server, and communicating with a central database server. I can't for 
the life of me think of any way the client could open the drawer 
otherwise.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] system( bell ); ?

2006-02-06 Thread Angelo Zanetti
maybe a javascript button that somehow does the dos command or calls 
another program (exe) that will do the command to open the 
till...anywayz this is getting OT!



Oli Howson wrote:


each of the terminals could then use a web based POS interface but 
there was only a

single cash drawer.



It would also be possible to have each 'till' running a copy of apache 
server, and communicating with a central database server. I can't for 
the life of me think of any way the client could open the drawer otherwise.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] system('bell'); ?

2006-02-04 Thread tedd

I simple wrote a small C program that basically sent a bell, 0x07
and it opened my cash drawer. In php I just did system('bell'); and
it worked fine.

Kevin


Hi:

Interesting! The statement system('bell'); is new to me.

If I'm writing code on a hosted domain, and using that statement, 
who's bell am I ringing?


tedd

--

http://sperling.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] system('bell'); ?

2006-02-04 Thread Gerry Danen
bell is his C program... :)   Outputs an ascii 7 (bell) at the machine
where it runs. It basically outputs a character to stdout or stderr.

He probably has that machine next to his cash drawer...

Gerry

On 2/4/06, tedd [EMAIL PROTECTED] wrote:
 I simple wrote a small C program that basically sent a bell, 0x07
 and it opened my cash drawer. In php I just did system('bell'); and
 it worked fine.
 
 Kevin

 Hi:

 Interesting! The statement system('bell'); is new to me.

 If I'm writing code on a hosted domain, and using that statement,
 who's bell am I ringing?

 tedd

 --
 
 http://sperling.com/

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




--
Gerry
http://portal.danen.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] system('bell'); ?

2006-02-04 Thread Dan Harrington

Ask not for whom the bell tolls, it tolls for thee!
 

-Original Message-
From: Gerry Danen [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 04, 2006 12:00 PM
To: tedd
Cc: php-general@lists.php.net
Subject: Re: [PHP] system('bell'); ?

bell is his C program... :)   Outputs an ascii 7 (bell) at the machine
where it runs. It basically outputs a character to stdout or stderr.

He probably has that machine next to his cash drawer...

Gerry

On 2/4/06, tedd [EMAIL PROTECTED] wrote:
 I simple wrote a small C program that basically sent a bell, 0x07 and 
 it opened my cash drawer. In php I just did system('bell'); and it 
 worked fine.
 
 Kevin

 Hi:

 Interesting! The statement system('bell'); is new to me.

 If I'm writing code on a hosted domain, and using that statement, 
 who's bell am I ringing?

 tedd

 --
 --
 --
 http://sperling.com/

 --
 PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: 
 http://www.php.net/unsub.php




--
Gerry
http://portal.danen.org/

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] system('bell'); ?

2006-02-04 Thread php-mail
Suppose someone had to :)

-Original Message-
From: Dan Harrington [mailto:[EMAIL PROTECTED] 
Sent: 04 February 2006 19:50
To: php-general@lists.php.net
Subject: RE: [PHP] system('bell'); ?


Ask not for whom the bell tolls, it tolls for thee!
 

-Original Message-
From: Gerry Danen [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 04, 2006 12:00 PM
To: tedd
Cc: php-general@lists.php.net
Subject: Re: [PHP] system('bell'); ?

bell is his C program... :)   Outputs an ascii 7 (bell) at the machine
where it runs. It basically outputs a character to stdout or stderr.

He probably has that machine next to his cash drawer...

Gerry

On 2/4/06, tedd [EMAIL PROTECTED] wrote:
 I simple wrote a small C program that basically sent a bell, 0x07 and 
 it opened my cash drawer. In php I just did system('bell'); and it 
 worked fine.
 
 Kevin

 Hi:

 Interesting! The statement system('bell'); is new to me.

 If I'm writing code on a hosted domain, and using that statement, 
 who's bell am I ringing?

 tedd

 --
 --
 --
 http://sperling.com/

 --
 PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: 
 http://www.php.net/unsub.php




--
Gerry
http://portal.danen.org/

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


__ NOD32 1.1393 (20060203) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] system('bell'); ?

2006-02-04 Thread Kevin Waterson
This one time, at band camp, tedd [EMAIL PROTECTED] wrote:

 Interesting! The statement system('bell'); is new to me.
 
 If I'm writing code on a hosted domain, and using that statement, 
 who's bell am I ringing?

The server bell, not the client.
I used this method because the cash drawer was plugged into the server in a 
shop front.
each of the terminals could then use a web based POS interface but there was 
only a
single cash drawer.

Kevin

-- 
Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php