Your IP : 216.73.217.79


Current Path : /var/www/cesa.co.za/php/
Upload File :
Current File : /var/www/cesa.co.za/php/downloadPN.php

<?php
session_start();
include_once('inc_db.php');
LogUserActivity("Download /practicenotes/" . $_REQUEST["filename"]);

if (!empty($_REQUEST["filename"]) && file_exists($_SERVER['DOCUMENT_ROOT'] . "/practicenotes/" . urldecode($_REQUEST["filename"]))) {
	header("Location: https://www.cesa.co.za/practicenotes/" . $_REQUEST["filename"]);
} else {
	echo "File not found.";
}