Re: multi-part upload fails in some php environments but not others

From: Date: Wed, 04 Jun 2003 16:49:39 +0000
Subject: Re: multi-part upload fails in some php environments but not others
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150215@lists.php.net to get a copy of this message
What is the error, Time Out ?, File too big?, or what ?... It will be help to us know it, to help you. "Kendal" <kendal@interlog.com> escribió en el mensaje news:5.2.0.9.0.20030604113841.024f7d28@mailbox.gta.igs.net... > 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 >

« previous php.general (#150215) next »