hankknight
asked on
exec() vs shell_exec()
What are the differnces between exec() vs shell_exec() in PHP?
ASKER
All I need to do is resize an image using ImageMagick.
convert -size 240x180 image.jpg -thumbnail 120x90 thumb.gif
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
exec Execute an external program http://www.php.net/manual/
shell_exec Execute command via shell and return the complete output as a string http://www.php.net/manual/
So maybe you can explain what exactly you need to achieve so we can advice the way you should proceed.
Cheers