On 13-Jul-01 Jeff Hill wrote:
> Don Read wrote:
>> On 13-Jul-01 Jeff Hill wrote:
>> > I've tried everything I can to pipe a string with mime content to
>> > metamail, but it fails in every variation of:
>> > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ",
>> > $met_res) ;
>> what about "/bin/echo ..."
> Nope, but I do appreciate the thought. Using "/bin/echo" just results in
> $met_res becoming an empty array, as does my example string.
$cmd='/bin/echo' ." $mime_string | /usr/bin/metamail -d -q -r -w -x -y ";
echo ' cmd is:<br>', $cmd, '<p>';
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]