I authored an audio player/recorder that saves the audio data to a PHP server instead of to the local drive.

See: http://www.freedomaudio.com/examples/recorder102/

Unfortunately the method does not work in some PHP environments. I am confident that the applet's audio upload functions reliably, since the method is reliable on some PHP servers like that at freedomaudio.com. However, in other PHP environments the audio data always gets lost somewhere between the applet's POST and PHP's storing the file on the server.

I believe the problem arises somewhere within the following snippet of script:

if(is_uploaded_file($file)) {
        $success = move_uploaded_file($file,$audioFileDirectory.$fileID.".ogg");
}

This script is part of the freedomrecorder.php file that is included within the downloadable example here: http://www.freedomaudio.com/examples/recorder102/freedomrecorder.zip

The PHP environment at freedomaudio.com can be seen here: http://www.freedomaudio.com/phpinfo.php

I don't have enough in-depth knowledge of PHP to know how to resolve this. I would truely appreciate it if anyone could enlighten me as to how to fix this problem! I would be happy to answer any questions and help with any debugging that may be necessary.

TIA,
Kendal



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to