I have a problem to execute a simple line of code to convert an image
Code: Select all
<?php
echo exec("/opt/local/bin/convert foto.jpg -thumbnail 50x50 output.jpg");
?>Code: Select all
type convertCode: Select all
convert foto.jpg -thumbnail 50x50 output.jpgCode: Select all
<?php
echo system("/opt/local/bin/convert -version");
?>Thank you!!