Category: Apache PHP

Create a folder in the web root, create a PHP file and add the following code, upload an image into the same directory, give write permissions to Apache or user to folder.

<? exec("convert /path/image.jpg -resize 1150x1150 /path/newimage.jpg") ?>
0 0 vote
Article Rating

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.