getMemoryLimit()) {//larger then the php memory limit, redirect to the file header('Location: ' . $path); exit; }else {//open it up and send out with php downloadFile($path); } }else { die(ERR_DOWNLOAD_FILE_NOT_FOUND); } ?>