Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Alessandro Pellizzari Newsgroups: it.comp.www.php Subject: Re: exec con 2 comandi -w e str_eplace Date: Mon, 15 Feb 2016 16:05:49 +0000 Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net pcIwrHmJQ3xph1htgzckDguWg8kKLlKO7l3ipvyFhvwfJLS4o= Cancel-Lock: sha1:gbWZINfx/xLsmXYPyCUNBffO8Zo= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: Xref: csiph.com it.comp.www.php:20368 On 15/02/2016 10:42, alex wrote: > è possibile assegnare oltre a -w anche un altro comando tipo str_replace > ad exec e che sia essere eseguito dopo il -w ? > exec("php -w file1.php > file2.php;"); Il -w non lo stai passando ad exec, ma a php (inteso come comando CLI). In ico.linux.* ti direbbero "man php" Per rispondere alla tua domanda: no. Bye.