Hello!
I do an upload with php and it works fine. But after the upload, I would like to execute a command. - In my case I would like to use Imagemagick to resize the graphic.
But if I put exec("convert -size 100x200 $image folder/$image_name");
it does not work - why?
it does work when I am not using an upload:
E.g.
exec("convert -size 100x200 somepic.jpg folder/somepic.jpg");
can anyone help me on this please?
thanks, saman