I am working on creating a thumbnail script but the obsticle is that
'convert ' doesn't create a file from the script. I am doing a system call
with the following

<?php
exec('convert -size 400x293 /home/original.gif -resize 8x8
/home/thumb.gif');
exec('cp /home/test1 /home/test2'); # Copying an existant file does work,
but calling convert to create a file doesn't
?>

Where thumb.gif is the name of the new file to be created.

After I run this script, no file is created, however if I run it from the
command line (as httpd or any user) it works.

Bobby












-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to