[magick-users] php and exec

Ron Savage ron at savage.net.au
Thu Dec 6 14:19:31 PST 2007


On Thu, 2007-12-06 at 16:40 +0000, Neil Johnson wrote:

Hi Neil

> 4. Used php exec() function with the same commands
> and absolutely nothing happens!
> exec("convert -geometry 200x100! -quality 100
> uploads/my.jpg uploads/my.jpg");

What's the current directory when this stmt is executed. You /think/ the
uploads/ dir is in the current directory, but maybe it isn't.

For instance, the default current directory for CGI scripts is different
between Apache V 1 and V 2.
-- 
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html




More information about the Magick-users mailing list