Posted by Schraalhans Keukenmeester on 05/27/07 21:49
At Sun, 27 May 2007 12:03:40 -0700, Matt let h(is|er) monkeys type:
> Matt wrote:
>>
>> ; output_buffering = 4096
>> output_buffering = Off
>>
>> 12345 is outputted only after the script exits.
>>
>> Matt
>
> Here's something interesting. Running php(info) shows:
> output_buffering no value no value
>
> Shouldn't this be:
> output_buffering Off Off
You may have a separate php.ini for the CLI and isapimodule versions
explaining the diffrence. I did my tests in a browser btw. Can't reproduce
the problem you have when trying it in a browser.
Your safety mechanism using the regex (haven't seen the pattern) and the
escape command look ok. You may want to check man ping for all options and
the effects they have in case you missed some potentially risky ones (not
that I think that's the case as long as you don't run ping as root.) and
modify your regex accordingly.
Sh
Navigation:
[Reply to this message]
|