\n"; echo "CSP report received:"; $reportFile = fopen($reportFilePath, 'r'); while ($line = fgets($reportFile)) { echo "
"; echo trim($line); } fclose($reportFile); unlink($reportFilePath); echo ""; echo ""; ?>