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, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"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 |
|
|||
|
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> |
|
|||
|
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> |
|
|||
|
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> > > |