Personal Telco Business Card Generator
$v) { if(substr($k,-5) == "_text"){ $fieldname = substr($k,0, strlen($k)-5); $fields[] = $fieldname; } } foreach($fields as $k) { $name = $_REQUEST[$k."_text"]; $font = $_REQUEST[$k."_font"]; $pointsize = $_REQUEST[$k."_pointsize"]; $x = $_REQUEST[$k."_x"]; $y = $_REQUEST[$k."_y"]; $sys .= " -font $font -pointsize $pointsize -draw \"text $x,$y \\\"$name\\\"\" "; } // generate the card $syss = $sys." ".$filein." ".$fileout; system($syss); ?>


Pt X Y
$v\n"; } return $s; } ?>