<?php $todayfile = date("d-m-y") . ".txt"; // 14-05-14 = 14th of May, 2014 $text = @file_get_contents($todayfile); echo $text; ?>