(no) file creation by convert (ImageMagik)

From: Date: Thu, 05 Jun 2003 00:14:42 +0000
Subject: (no) file creation by convert (ImageMagik)
Groups: php.general 
Request: Send a blank email to php-general+get-150282@lists.php.net to get a copy of this message
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

« previous php.general (#150282) next »