srand((double)microtime()*1000000);
$n9eb = rand(0,9999);
$esem = "$n9eb".date("s");
$mlf = fopen("$esem.txt", "a");
if(!$mlf) die ("Error reading file.");
$ketaba = HTMLSpecialChars($ketaba);
$esterja3 .= "some txt";
fwrite($mlf, $esterja3);
header("Location: $esem.txt");
unlink("$esem.reg");
}
how can i send the file then delay few seconds then delete or unlink the file that i have sent?
thank you