Re: preventing output dump of passthru()
| From: | Curt Zirzow | Date: | Wed, 06 Aug 2003 02:18:02 +0000 |
| Subject: | Re: preventing output dump of passthru() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158384@lists.php.net to get a copy of this message | ||
* Thus wrote Chris W. Parker (cparker@swatgear.com):
> Here is my code:
>
> $command = "file -i ".$pictureDir."1"."_".$id."-*.gif";
> // testing
> $output =
$command;
> $outputArr = explode("\n",$command_output);
> print_r($outputArr);
>
> If you'll notice line #2 is "$output = s
> ö¥ž ™�¦�/M$command;". It has those funny
> quote characters, the button next to the 1.
>
> What is that and why does it work??
>
thats the backtick operator.
http://php.net/manual/en/language.operators.execution.php
HTH,
Curt
--
"I used to think I was indecisive, but now I'm not so sure."