Password:

'); if (strlen(DL_PASS) < 1) { include header; echo "

Admin password cannot be blank. Update DL_PASS in php/config.inc.php to use this feature.

"; include footer; exit(); } if (strpos(__FILE__, 'admin.php') !== false) { include header; echo "

Please rename admin.php before using this tool. We suggest something like: ".hash("sha256", microtime() . random_int(PHP_INT_MIN, PHP_INT_MAX) . "t08ujli4helfiubhi8uy98yhe4f@#RETHrtg80uj").".php

"; include footer; exit(); } $ip = $_SERVER['REMOTE_ADDR']; if (count($ADMIN_IPS) > 0 && array_search($ip, $ADMIN_IPS) === false) { include header; echo "

Sorry, but your IP address does not have permission to access this tool. Please contact the form maintainer to resolve this.

"; echo ""; include footer; } else { if (isset($_POST) && isset($_POST['password'])) { if (password_verify($_POST['password'], $password)) { header('Content-Type: application/octet-stream'); header("Content-Transfer-Encoding: Binary"); header("Content-disposition: attachment; filename=\"submissions.dat\""); readfile(FILE); exit(); } else { include header; echo "

Wrong password, sorry.\n"; echo form; include footer; } } else { include header; echo FORMCONTENTS; date_default_timezone_set('America/Vancouver'); echo "

Last submission received at " . date ("F d Y H:i:s", filemtime(FILE)) . ".

\n"; include footer; } } ?>