I have been going around in cicles and not getting any where. I need the LIB_VERSION_NUMBER in a variable ( I also need it padding to 8 numbers - in this case 06030401 but if the number was 6,3,4,11 it would need to be 06030411 but thats another problem ! )
If I use :
I get the details below displayed ( I do not want it displayed ) it will also not be saved as a variable.PHP Code:<?php
echo "<pre>";
$test = system("convert -list configure ");
echo "</pre>";
?>
If I use :Path: C:\Program Files\ImageMagick-6.3.4-Q16\config\configure.xml
Name Value
-------------------------------------------------------------------------------
COPYRIGHT Copyright (C) 1999-2007 ImageMagick Studio LLC
HOST Windows
LIB_VERSION 0x634
LIB_VERSION_NUMBER 6,3,4,1
NAME ImageMagick
RELEASE_DATE 05/15/07
VERSION 6.3.4
WEBSITE http://www.imagemagick.org
Path: configure.xml
Name Value
-------------------------------------------------------------------------------
COPYRIGHT Copyright (C) 1999-2007 ImageMagick Studio LLC
HOST Windows
LIB_VERSION 0x634
LIB_VERSION_NUMBER 6,3,4,1
NAME ImageMagick
RELEASE_DATE 05/15/07
VERSION 6.3.4
WEBSITE http://www.imagemagick.org
The value is input into the variable but the contents of the variable are just :PHP Code:echo "<pre>";
$test = exec("convert -list configure ");
echo "</pre>";
echo $test;
Not the whole thing.WEBSITE http://www.imagemagick.org
I can not seem to get this to work; can somebody give me a pointer ?








Bookmarks