2010/3/24 Marten Lehmann
> Hello,
>
>
> dan...@daniel-laptop:~$ php test.php> /dev/null
>> Error 1
>> Error 2
>> dan...@daniel-laptop:~$ ./src/php-5.2.12/sapi/cli/php test.php>
>> /dev/null
>> Error 1
>> Error 2
>>
>
> well, using php-cli instead of php-cgi, this finally worked:
>
> fwrite(ST
On Wed, Mar 24, 2010 at 14:12, Marten Lehmann wrote:
> Hello,
>
>> dan...@daniel-laptop:~$ php test.php> /dev/null
>> Error 1
>> Error 2
>> dan...@daniel-laptop:~$ ./src/php-5.2.12/sapi/cli/php test.php> /dev/null
>> Error 1
>> Error 2
>
> well, using php-cli instead of php-cgi, this finally wor
Hello,
dan...@daniel-laptop:~$ php test.php> /dev/null
Error 1
Error 2
dan...@daniel-laptop:~$ ./src/php-5.2.12/sapi/cli/php test.php> /dev/null
Error 1
Error 2
well, using php-cli instead of php-cgi, this finally worked:
But why doesn't it work with php-cgi? That's a binary that is calle
On Tue, Mar 23, 2010 at 15:50, Jan G.B. wrote:
>
>
> 2010/3/23 Daniel Egeberg
>>
>> On Tue, Mar 23, 2010 at 11:47, Marten Lehmann wrote:
>> > Hello,
>> >
>> > I found different code examples like this, which use the file handle
>> > STDERR
>> > just like this:
>> >
>> > > > fwrite(STDERR, "hello
2010/3/23 Daniel Egeberg
> On Tue, Mar 23, 2010 at 11:47, Marten Lehmann wrote:
> > Hello,
> >
> > I found different code examples like this, which use the file handle
> STDERR
> > just like this:
> >
> > > fwrite(STDERR, "hello\n");
> > ?>
> >
> > Also, the PHP documentation of input/output st
On Tue, Mar 23, 2010 at 11:47, Marten Lehmann wrote:
> Hello,
>
> I found different code examples like this, which use the file handle STDERR
> just like this:
>
> fwrite(STDERR, "hello\n");
> ?>
>
> Also, the PHP documentation of input/output streams
> (http://php.net/manual/de/wrappers.php.php)
2010/3/23 Marten Lehmann
> Hello,
>
> I found different code examples like this, which use the file handle STDERR
> just like this:
>
> fwrite(STDERR, "hello\n");
> ?>
>
> Also, the PHP documentation of input/output streams (
> http://php.net/manual/de/wrappers.php.php) says:
>
> "It is recommen
Hello,
I found different code examples like this, which use the file handle
STDERR just like this:
Also, the PHP documentation of input/output streams
(http://php.net/manual/de/wrappers.php.php) says:
"It is recommended that you simply use the constants STDIN, STDOUT and
STDERR instead
8 matches
Mail list logo