Am i correct that this will only work when php is installed as cgi?
What?! That would suck.
The following returns no errors but also doesnt do anything. Try it.
If i run it from command line or...
in ASP it works fine.
Please... Any thoughts?
Thank you.
<?php
echo("begin");
$cmd="c:\ImageMagick\convert.exe";
$params="-geometry 200x200";
$files="c:\media\george.jpg c:\media\george_tmb.jpg";
echo("<BR>".$cmd." ".$params." ".$files);
if(is_executable("$cmd")){
passthru($cmd." ".$params." ".$files);
echo("<br>good gravy");
} else {
echo("<br>no success");
}
echo("<BR>end ");
?>