in reply to Playing a wav file in cgi

Sure, you could just do something like:

system('/usr/bin/play', '/usr/share/licq/sounds/Monty-Python.wav')

You might need to do something with the permissions on /dev/dsp though.