You are here: Re: [PHP] Exec don't work « PHP « IT news, forums, messages
Re: [PHP] Exec don't work

Posted by Greg Donald on 05/11/05 06:31

On 5/10/05, Richard Lynch <ceo@l-i-e.com> wrote:
> I use exec() instead of system()
>
> I find it's rare that I don't want to capture the resulting output (arg 2)
> and do something intelligent if the OS returns an error (arg 3)

For some reason I always thought exec() only took a single argument.
That 3rd argument will come in handy now that I know about it. Learn
something new everyday. :)


--
Greg Donald
Zend Certified Engineer
http://destiney.com/

 

Navigation:

[Reply to this 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

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