PHP Speech
| From: | tedd | Date: | Tue, 15 Apr 2008 23:04:59 +0000 |
| Subject: | PHP Speech | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273018@lists.php.net to get a copy of this message | ||
Daniel:
Your hosting service provides the capability to turn html text to speech, as I've done here:
http://php1.net/b/speech/
We use php to generate a sound file and then we use javascript to play it -- it all works great.
But, how do we delete the file? The php script is history after presenting the page and javascript can't touch the server, right? So, how does one delete the wave file?
The only way I can see is to set up a cron job to delete all wave files after a certain time, but that's kind-of lame. Is there another way?
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com