system beep

This is a discussion on system beep within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Is there a way I could force the default system beep (ascii 7, the "bell") via php? Thanks, ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2004
Ike
 
Posts: n/a
Default system beep

Is there a way I could force the default system beep (ascii 7, the "bell")
via php? Thanks, Ike


Reply With Quote
  #2 (permalink)  
Old 02-28-2004
CountScubula
 
Posts: n/a
Default Re: system beep

"Ike" <rxv@hotmail.com> wrote in message
news:HmR%b.25005$hm4.11690@newsread3.news.atl.eart hlink.net...
> Is there a way I could force the default system beep (ascii 7, the "bell")
> via php? Thanks, Ike
>
>
>


print chr(7);

this works at my consol, and with an ssh session, linux box.


--
Mike Bradley
http://www.gzentools.com -- free online php tools


Reply With Quote
  #3 (permalink)  
Old 02-28-2004
Andy Hassall
 
Posts: n/a
Default Re: system beep

On Sat, 28 Feb 2004 00:34:47 GMT, "Ike" <rxv@hotmail.com> wrote:

>Is there a way I could force the default system beep (ascii 7, the "bell")
>via php? Thanks, Ike


But which system do you want to beep, the client or the server?

If the client - how is it connected?
If through a browser, they typically don't render BEL as a beep.
If through a terminal, i.e. running PHP from a shell command line, then just
"print chr(7);" should do it.

If the server - you'd have to (somehow) send a BEL to a local terminal?

--
Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>
Reply With Quote
  #4 (permalink)  
Old 02-28-2004
Ike
 
Posts: n/a
Default Re: system beep

Right...I mean on the browser...is there any way to do that?
-Ike

"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:4drv301os8t6istkvnrir9cpcmemo31igr@4ax.com...
> On Sat, 28 Feb 2004 00:34:47 GMT, "Ike" <rxv@hotmail.com> wrote:
>
> >Is there a way I could force the default system beep (ascii 7, the

"bell")
> >via php? Thanks, Ike

>
> But which system do you want to beep, the client or the server?
>
> If the client - how is it connected?
> If through a browser, they typically don't render BEL as a beep.
> If through a terminal, i.e. running PHP from a shell command line, then

just
> "print chr(7);" should do it.
>
> If the server - you'd have to (somehow) send a BEL to a local terminal?
>
> --
> Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
> <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>



Reply With Quote
  #5 (permalink)  
Old 02-28-2004
CountScubula
 
Posts: n/a
Default Re: system beep

one of the things I do to get a browser to beep, is to embed a piece of
flash with a beep in it, and set it to play once.

too many problems embeding sound otherways, besides, alot of people have
flash.

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Ike" <rxv@hotmail.com> wrote in message
news:vaT%b.25250$hm4.2527@newsread3.news.atl.earth link.net...
> Right...I mean on the browser...is there any way to do that?
> -Ike
>
> "Andy Hassall" <andy@andyh.co.uk> wrote in message
> news:4drv301os8t6istkvnrir9cpcmemo31igr@4ax.com...
> > On Sat, 28 Feb 2004 00:34:47 GMT, "Ike" <rxv@hotmail.com> wrote:
> >
> > >Is there a way I could force the default system beep (ascii 7, the

> "bell")
> > >via php? Thanks, Ike

> >
> > But which system do you want to beep, the client or the server?
> >
> > If the client - how is it connected?
> > If through a browser, they typically don't render BEL as a beep.
> > If through a terminal, i.e. running PHP from a shell command line,

then
> just
> > "print chr(7);" should do it.
> >
> > If the server - you'd have to (somehow) send a BEL to a local terminal?
> >
> > --
> > Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
> > <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>

>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:13 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0