[Lazarus] Translating php://input into fcl-web

silvioprog silvioprog at gmail.com
Sun Aug 24 05:08:10 CEST 2014


Oops,

On Sun, Aug 24, 2014 at 12:02 AM, silvioprog <silvioprog at gmail.com> wrote:

> On Sat, Aug 23, 2014 at 9:07 PM, "Leonardo M. Ramé" <l.rame at griensu.com>
> wrote:
>
>>  [...]
>> Thank you very much Silvio for testing.
>>
>> My setup is XUbuntu 14.04 64bits, and Apache/2.4.7 (Ubuntu). Also I'm
>> testing on Firefox 31 For Ubuntu with the latest version of Flash Plugin.
>>
>> What confuses me is the same setup, but instead of the CGI, if I use PHP,
>> the file is stored with the complete audio.
>>
>
> Worked on Ubuntu too, please try it online here:
>
> *https://brookframework.org/leo/ <https://brookframework.org/leo/>*
>
> I used "chmod 777 -R /var/www/html/leo/tmp/" to my CGI can write waves
> into this directory.
>
> The modified source code (i'm using jQuery in this demo to less coding
> hehe):
>
> http://tempsend.com/06FD41FF11
>

Please try online demo again. And in your code change this lines:

...
stopButton.on('click', function(e) {
e.preventDefault();
e.stopPropagation();
 $(this).prop('disabled', true);
startButton.prop('disabled', false);
Wami.stopRecording();
 setTimeout(function() {
downloadLink.removeClass('hidden');
}, 3000);
 });
...

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140824/04919c27/attachment-0003.html>


More information about the Lazarus mailing list