Posted by on 09/17/05 01:42
> <- Chameleon ->,
>
>> The whole thing is this.
>>
>> I have a java app which creates rtf files via php scripting calling
>> php.exe -n script.php
>> the STDIN is the serialized data from java app to php script.
>> the STDOUT is the exported rtf file.
>> I want the STDERR be all produced script errors/warnings which java
>> app shows in a dialog.
>
>
> If this is the case you could still use a user defined error handler.
> Otherwise you may have to change it in the php source and recompile it
> yourself. I have really never looked into it that deep but my
> assumption would be it is hard coded somewhere in the source code.
you are right
I must run the php script with this:
php -n -d log_errors=On -d display_errors=Off script.php
log_errors=On : Write errors in STDERR
display_errors=Off : Don't write errors in STDOUT
thanx
Navigation:
[Reply to this message]
|