Files
Testing/cc_denied.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

26 lines
438 B
PHP

<?php
exit;
include "header2.php";
error_reporting(-1);
$handle = fopen("../cc_log", "a+");
if(!$handle) :
echo "Error opening file.\n";
endif;
if($_POST) :
if(! fwrite($handle,"DENIED: \n". print_r($_POST, TRUE) . "\n\n\n")) :
echo 'Error writing file.';
endif;
else :
if(! fwrite($handle,"ACCESS: \n". date('y-m-d') . "\n\n\n")) :
echo 'Error writing file.';
endif;
endif;
include "footer.php";
?>