[magick-users] Paths?

Pierre-Yves Landuré py.landure at dorigo.fr
Fri Dec 12 08:00:28 PST 2008


Hi,

If it is possible for you to update your PHP install using pecl, you 
should take a look at the PHP Imagick extention. It is a great way to 
use imagemagick from php.

As for your question, i believe you do a missuse of system, and this is 
not a PHP mailing list :)

http://fr.php.net/manual/fr/function.system.php

you are willing to do:

$path = system('which convert' )

Good luck

Pierre-Yves Landuré

Terion Miller a écrit :
> When using this script to find the path to my installation so that I can use
> it in code, all I output is: 1 Could my installation be messed up?
>
> <?php
> echo "<pre>";
> system('which convert',$path); print_r($path);
> echo "</pre>";
> ?>
> _______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>   



More information about the Magick-users mailing list