|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Something like this should work to test. If it runs into a problem it should output the error, however this doesn't appear to always be the case. This script works for me, but if I make the path bad it doesn't show any error on my windows test box for some reason.
<?
$output = exec("C:/path/to/convert.exe -background lightblue -fill blue -pointsize 30 label:test C:/Path/to/a/writeable/directory/test.gif",$error);
if (sizeof($error) {
echo "Error is " implode(' ',$error);
} // end if
?>
You'll want to change the paths above. Both to the convert.exe executable, and also to where it will output the test.gif file, it must be a writeable directory.
|
|
|
Entire Thread
|
Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/11/2007 3:12 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Rick
|
04/11/2007 3:25 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
AllenAyres
|
04/11/2007 4:28 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Rick
|
04/11/2007 4:33 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/11/2007 5:29 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/11/2007 5:36 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Rick
|
04/11/2007 5:48 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/11/2007 6:10 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Rick
|
04/11/2007 7:01 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/11/2007 9:24 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Rick
|
04/12/2007 12:54 AM
|
Re: Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/12/2007 12:59 AM
|
Re: Captcha not working, IIS6, ImageMagick
|
Mors
|
04/13/2007 6:42 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Gizmo
|
04/12/2007 5:10 AM
|
Re: Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/12/2007 12:51 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Rick
|
04/12/2007 2:44 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/12/2007 4:20 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
BellaOnline
|
08/05/2007 9:17 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
ntdoc
|
08/05/2007 10:02 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Mors
|
08/07/2007 6:44 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Mors
|
04/13/2007 6:44 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Gizmo
|
04/13/2007 11:28 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
BellaOnline
|
08/05/2007 9:15 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Gizmo
|
04/12/2007 7:43 PM
|
Re: Captcha not working, IIS6, ImageMagick
|
Andrew Bienhaus
|
04/13/2007 12:02 AM
|
Re: Captcha not working, IIS6, ImageMagick
|
Gizmo
|
04/13/2007 12:08 AM
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
2 members (Geoff, Ruben),
1,031
guests, and
180
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|