Jump to content

Play a sound under certain condition?


AV1611

Recommended Posts

Don't you hate when a topic starts out with that phrase?

Anyways...

I have a script that basically does this under certain data conditions:

if true echo "true" else echo "false"

I have it on a web page and the script executes every several minutes via meta refresh... then all I have to do is check the page from time to time and know if that condition exists

what I want to do is make it so I can go to the page, then minimize so if the script is true (which is rare) then it plays a tone, beep, whirl, ding, or whatever so I know to look at the page and read the info

Don't care what the sound is, and hope to not have to play wav as I need it to work in all major browsers.

Thanks in advance...

Link to comment
https://forums.phpfreaks.com/topic/31021-play-a-sound-under-certain-condition/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.