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

2014-08-24 Thread Leonardo M. Ramé
On 24/08/14 00:08, silvioprog wrote: Oops, On Sun, Aug 24, 2014 at 12:02 AM, silvioprog silviop...@gmail.com mailto:silviop...@gmail.com wrote: On Sat, Aug 23, 2014 at 9:07 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: [...] Thank you very

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

2014-08-24 Thread Leonardo M. Ramé
On 24/08/14 07:31, Leonardo M. Ramé wrote: On 24/08/14 00:08, silvioprog wrote: Oops, On Sun, Aug 24, 2014 at 12:02 AM, silvioprog silviop...@gmail.com mailto:silviop...@gmail.com wrote: On Sat, Aug 23, 2014 at 9:07 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com

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

2014-08-24 Thread silvioprog
On Sun, Aug 24, 2014 at 8:37 AM, Leonardo M. Ramé l.r...@griensu.com wrote: On 24/08/14 07:31, Leonardo M. Ramé wrote: On 24/08/14 00:08, silvioprog wrote: Oops, On Sun, Aug 24, 2014 at 12:02 AM, silvioprog silviop...@gmail.com mailto:silviop...@gmail.com wrote: On Sat, Aug 23, 2014

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

2014-08-23 Thread Leonardo M. Ramé
Hi, I'm trying to translate this PHP code to fcl-web (actually brookframework): ?php $content = file_get_contents('php://input'); $fh = fopen('output.wav', 'w') or die(can't open file); fwrite($fh, $content); fclose($fh); ? The difficult part is the line with file_get_contents('php://input'),

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

2014-08-23 Thread silvioprog
On Sat, Aug 23, 2014 at 3:12 PM, Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm trying to translate this PHP code to fcl-web (actually brookframework): ?php $content = file_get_contents('php://input'); $fh = fopen('output.wav', 'w') or die(can't open file); fwrite($fh, $content);

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

2014-08-23 Thread Leonardo M. Ramé
On 23/08/14 17:18, silvioprog wrote: On Sat, Aug 23, 2014 at 3:12 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: Hi, I'm trying to translate this PHP code to fcl-web (actually brookframework): ?php $content = file_get_contents('php://__input'); $fh

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

2014-08-23 Thread Leonardo M. Ramé
On 23/08/14 18:40, Leonardo M. Ramé wrote: On 23/08/14 17:18, silvioprog wrote: On Sat, Aug 23, 2014 at 3:12 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: Hi, I'm trying to translate this PHP code to fcl-web (actually brookframework): ?php $content =

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

2014-08-23 Thread Leonardo M. Ramé
On 23/08/14 18:40, Leonardo M. Ramé wrote: On 23/08/14 17:18, silvioprog wrote: On Sat, Aug 23, 2014 at 3:12 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: Hi, I'm trying to translate this PHP code to fcl-web (actually brookframework): ?php $content =

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

2014-08-23 Thread silvioprog
On Sat, Aug 23, 2014 at 8:09 PM, Leonardo M. Ramé l.r...@griensu.com wrote: I made an example using fcl-web (without Brook) and the problem persists. [...] Strange. I made some changes to work here in my PC and it worked fine: http://tempsend.com/63FEC90D7A Listen my ugly audio3.wav file. :-P

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

2014-08-23 Thread Leonardo M. Ramé
On 23/08/14 20:54, silvioprog wrote: On Sat, Aug 23, 2014 at 8:09 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: I made an example using fcl-web (without Brook) and the problem persists. [...] Strange. I made some changes to work here in my PC and it worked fine:

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

2014-08-23 Thread silvioprog
On Sat, Aug 23, 2014 at 9:07 PM, Leonardo M. Ramé l.r...@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

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

2014-08-23 Thread silvioprog
Oops, On Sun, Aug 24, 2014 at 12:02 AM, silvioprog silviop...@gmail.com wrote: On Sat, Aug 23, 2014 at 9:07 PM, Leonardo M. Ramé l.r...@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