Re: system('bell'); ?
| From: | Gerry Danen | Date: | Sat, 04 Feb 2006 19:00:00 +0000 |
| Subject: | Re: system('bell'); ? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229876@lists.php.net to get a copy of this message | ||
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 <tedd@sperling.com> 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/