'test'.date(d_m_Y).'.txt'; bu değeri bir string değişkenine atayın ve filegetcontents içerisinde bu değişkeni kullanarak deneyin.