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
> [email protected]
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>   

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to