in theory, i think this can work. but how...

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
alexruimy
Forum Newbie
Posts: 8
Joined: Thu May 15, 2008 12:33 pm

in theory, i think this can work. but how...

Post by alexruimy »

hopefully this isn't the wrong forum lol. mods, plz move if necessary.

i'm working on a bet with some friends and possibly another forum that would involve the following:

they have to spend 72 hours in a bathroom without eating or sleeping and only drinking water from the faucet or showerhead. part of the bet involves a webcam or two placed in the bathroom with public viewing access. users who are viewing the cam have the option to pay $3 to blow an airhorn that's in the bathroom connected to probably the same computer as the webcam. the ultimate winner of the bet gets the airhorn money. i can't quite figure out how the airhorn part would work. the easiest solution i think would be to have an approved transaction execute a sendmail and have the receive mail sound be an airhorn sound, blasted through on speakers. that's alright, but can anyone think of a way to work a real airhorn into this deal? it would also be nice if there was a way to do it that didn't involve sendmail, as it has the downfall of receiving more than one mail at a time and would take ~ a minute to work.

thoughts anyone? i can post additional bet terms if anyone wants to see them.
Post Reply