View Single Post
Old August 23rd, 2007, 6:28 AM   #1 (permalink)
JMF
Registered User
Seasoned Poster
 
JMF's Avatar
 
Joined in Jun 2004
Lives in Tennessee, USA
Hosted on Pass56
32 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
Alternative to exec()?

Hi! I'm running a script on my site that grabs a picture and shrinks it to a certain size like this:

PHP Code:
exec("/usr/bin/convert -resize 186x picotd.jpg picotdsm.jpg"); 
It hasn't been working lately, triggering an "exec() has been disabled" error.

I can find my way around PHP, but am kind of new to it -- is there another way I can resize the images without using exec()?

Thanks!
Jeff.
JMF is offline   Reply With Quote