I need a simple CGI / PERL / Shell Script that will take the output from a textbox in an HTML form and throw it at a serial port. (text-from-the-web to speech)
The tricky part here seems to be the text to speech conversion.
The easiest way to do this would probably be to take the input from the form, save it to a text file and launch some text-to-speech software (feeding it the text file) from the script in background.
That does away with having to to text to speech conversion yourself (via the script). Not sure if apache runs with sufficient permissions to use the serial device or not.
Or find a text-to-speech converter with a GUI and don't use apache at all.