rcs
01-28-2004, 08:54 AM
When I run
<?php
exec("echo x | echo y",$output);
$output=implode(',',$output);
echo "output is: $output"
?>
safe_mode off output is: y
safe_mode on output is: x | echo y
How can I pipe with the exec() command when safe_mode is on?
<?php
exec("echo x | echo y",$output);
$output=implode(',',$output);
echo "output is: $output"
?>
safe_mode off output is: y
safe_mode on output is: x | echo y
How can I pipe with the exec() command when safe_mode is on?
