php empy file

fclose(fopen('filename.txt','w'));
Enrybi