// Secure input and construct FQFN
$access = SQL_ESCAPE(strip_tags(REQUEST_GET('access')));
$target = sprintf("%slogs/%s", constant('PATH'), $access);
// Is the file valid and readable?
// Secure input and construct FQFN
$access = SQL_ESCAPE(strip_tags(REQUEST_GET('access')));
$target = sprintf("%slogs/%s", constant('PATH'), $access);
// Is the file valid and readable?