Reply to Re: Simple Ping Tool - Display Each Line

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация