Im new to using exec, and are currently using it to create a blurred version of uploaded images to the site.
My code looks like this:
exec("convert '$image' -blur 0x8 'blur_' . $image");
But i was wondering if there would be any security problems using this method? And if there are any, a method to prevent it.
People are allowed to upload png, jpeg and gif but they can name them as they want.