Help for this page
$mon = "MON.DOC"; ... $date = `date`; #(or whatever) $filename = $name[0] . "_" . $date . "." . $name[1];