You are here: Re: exec « PHP Language « IT news, forums, messages
Re: exec

Posted by Jean Pierre Daviau on 01/23/08 21:23

"The Beloved" <maybe@one.day> a �crit dans le message de news:
4fnep397av4h88u656rc6jas1b2dqkdu8l@4ax.com...
> On Wed, 23 Jan 2008 08:26:39 -0500, "Jean Pierre Daviau"
> <Once@WasEno.ugh> wrote:
>
>>I have found that it was the indirection < that
>>creates the bug.
>
>>> $a=array();
>>> $output = exec("tree_words.exe < $input", $a);
>>> var_dump($a);
>
> Create the command string outside the exec command ?
>
> $mycommand = "tree_words.exe ".char(60)." ".$input;
> $output = exec($mycommand, $a);

Does not work

 

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

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