From Newsgroup: comp.lang.php
anglezzzzzzz.likesyou.org/a.phpraCraCraCraCraCraCraC raCraC christyansworld.atwebpages.com/a.phpraCraCraCraCraCraCraC youthmeetupplace.talk4fun.net/a.phpraCraCraCraCraCraCraCraC kohtumispaik3.66ghz.com/a.phpraCraCraCraCraCraCraCraCraCraC Heia...........Heida pilk peale nendele............
Postita ka midagi sinna.
Siis p|nrast hea mul lugeda, et mu lehtedel on m||ni k|+lastaja ka !
On Friday, December 19, 2003 at 12:51:21rC>PM UTC+2, Morten wrote:
Pedro Graca <hex...@hotpop.com> wrote in message news:<brtb6g$74nr4$1...@ID-203069.news.uni-berlin.de>...
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
--- Synchronet 3.21d-Linux NewsLink 1.2