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 convert
Code: Select all
convert foto.jpg -thumbnail 50x50 output.jpg
Code: Select all
<?php
echo system("/opt/local/bin/convert -version");
?>
Thank you!!