error Reporting shell_exec
Posted: 2015-08-25T09:01:32-07:00
Code: Select all
private function convert_width($size,$pic,$input,$output)
{
$pfadinput = $input."/".$pic;
$pfadoutput = $output."/".$pic;
print_r("/usr/bin/convert -resize '.$size.' -quality 100% '.$pfadinput.' '.$pfadoutput");
var_dump(shell_exec("/usr/bin/convert -resize '.$size.'-quality 100% '.$pfadinput.' '.$pfadoutput"));
}
These example doen't work