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(STDERR, test\n);
fclose(STDERR);
?
But why doesn't it work
On Wed, Mar 24, 2010 at 14:12, Marten Lehmann lehm...@cnm.de 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
2010/3/24 Marten Lehmann lehm...@cnm.de
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(STDERR,
Hello,
I found different code examples like this, which use the file handle
STDERR just like this:
?php
fwrite(STDERR, hello\n);
?
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
2010/3/23 Marten Lehmann lehm...@cnm.de
Hello,
I found different code examples like this, which use the file handle STDERR
just like this:
?php
fwrite(STDERR, hello\n);
?
Also, the PHP documentation of input/output streams (
http://php.net/manual/de/wrappers.php.php) says:
It is
On Tue, Mar 23, 2010 at 11:47, Marten Lehmann lehm...@cnm.de wrote:
Hello,
I found different code examples like this, which use the file handle STDERR
just like this:
?php
fwrite(STDERR, hello\n);
?
Also, the PHP documentation of input/output streams
2010/3/23 Daniel Egeberg degeb...@php.net
On Tue, Mar 23, 2010 at 11:47, Marten Lehmann lehm...@cnm.de wrote:
Hello,
I found different code examples like this, which use the file handle
STDERR
just like this:
?php
fwrite(STDERR, hello\n);
?
Also, the PHP documentation of
On Tue, Mar 23, 2010 at 15:50, Jan G.B. ro0ot.w...@googlemail.com wrote:
2010/3/23 Daniel Egeberg degeb...@php.net
On Tue, Mar 23, 2010 at 11:47, Marten Lehmann lehm...@cnm.de wrote:
Hello,
I found different code examples like this, which use the file handle
STDERR
just like this:
8 matches
Mail list logo