I have to open and then unlink a pdf document.
$url = "../tempdocs/".$tmpdocname; header("Location: ".$url."");
here i can open this document but as I add
unlink($url); the browser shows " File is not found".
so unlink runs before the completion of file open...
if anybody knows a solution please reply