I seem to remember having similar problems with ImageMagick. Have you
checked the permissions on the directory this PHP file is running in?
You'll probably need to give group write permissions, and make sure
the directory is in the same group that PHP is running under so that
it has permission to
near unexpected token
'theThumb.gif',$retvalue)'
Thanks,
Eddie
-Original Message-
From: Michal Migurski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 11:09 AM
To: Edward Peloke
Cc: Php-General
Subject: RE: [PHP] calling imagemagick from php
> I have actually
cted token
'theThumb.gif',$retvalue)'
Thanks,
Eddie
-Original Message-
From: Michal Migurski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 11:09 AM
To: Edward Peloke
Cc: Php-General
Subject: RE: [PHP] calling imagemagick from php
> I have actually changed my cod
> I have actually changed my code to this for debug purposes
>
> system('convert -geometry 200 x 200 image.JPG theThumb.gif', $retval)
>
> and if I cut out string between the single quotes and just run it at a
> command prompt, it works greatwhen I run this php script, I get
> syntax errors
I have actually changed my code to this for debug purposes
system('convert -geometry 200 x 200 image.JPG theThumb.gif', $retval)
and if I cut out string between the single quotes and just run it at a
command prompt, it works greatwhen I run this php script, I get syntax
errorswhat is wron
5 matches
Mail list logo