Re: exec w. imagemagick gives incomplete result

V <[email protected]> Fri, 14 Jul 2023 09:59:05 -0700 (PDT)
Newsgroups comp.lang.php
Message-ID <[email protected]>
anglezzzzzzz.likesyou.org/a.php⠀⠀⠀⠀⠀⠀⠀ ⠀⠀
christyansworld.atwebpages.com/a.php⠀⠀⠀⠀⠀⠀⠀
youthmeetupplace.talk4fun.net/a.php⠀⠀⠀⠀⠀⠀⠀⠀
kohtumispaik3.66ghz.com/a.php⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

Heia...........Heida pilk peale nendele............


Postita ka midagi sinna.

Siis pärast hea mul lugeda, et mu lehtedel on mõni külastaja ka !



On Friday, December 19, 2003 at 12:51:21 PM UTC+2, Morten wrote:
> Pedro Graca <[email protected]> wrote in message news:<[email protected]>...
> > Morten wrote:
> > > But when running via PHP exec, the yellow box gets created alright,
> > > but the text doesn't show.
> > 
> > > exec($CONVERT." -font helvetica xc:yellow -resize 100x15! -gravity
> > > \"West\" -draw \"text 0,0 \'".$text."\'\" ".$file, $out, $err);
> > 
> > > Any suggestions?
> > 
> > Try echo instead of exec
> > 
> > echo $CONVERT." -font helvetica xc:yellow -resize 100x15! -gravity
> > \"West\" -draw \"text 0,0 \'".$text."\'\" ".$file;
> And pasting the result of echo into a term works. I've found that this is
> highly likely to be due to imagemagick convert invokes another executable
> which is in /usr/local/bin and this path is not part of the PATH visible 
> to PHP (according to phpinfo()). How do I add it?
> Thanks,
> Morten