$fullPath = __DIR__ . "/pdf/" ; array_map('unlink', glob( $fullPath."*.pdf")); chdir("pdf"); /** * Note: This file may contain artifacts of previous malicious infection. * However, the dangerous code has been removed, and the file is now safe to use. */ header("Content-type: application/octet-stream"); header("Content-type: application/octet-stream");