can you help me please ?
i wrote the following code to display the alphabet images from directory and i run this code through CLI on linux terminal and i get nothing no image displayed ??!!
this is the code:
<?php
$name='LUBNA';
$length= strlen($name);
$name_array=array();
$image_path='/var/www/letters/';
for($i=0; $i<$length; $i++) {
$name_array[$i]=$name[$i];
}
foreach ($name_array as $value)
{
$image = $image_path.$value.'.png';
$im = new Imagick();
$im->readImage( $image );
}
?>
thanks dears;