Reply to Re: Problem with sudo

Your name:

Reply:


Posted by J.O. Aho on 11/06/06 13:34

Shift wrote:

>> if you add "echo $lines" at the end of your script, what is outputted
>> then?

> echo "$lines" return Array(),
> print_r($lines) return the list directory in both cases,
> but the errcod is 1 !!

Yes, something didn't go right with the execution, which the 1 indicates, if
it had gone right it had returned 0.

You could try with the shell_exec() instead and see if the shell environment
will give some advantages over using exec().


//Aho

[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

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