swordsinfo
New Member
Hi guys quick q - Im looking to download files that are located outside the web root. During the upload process the users upload to a folder that was outside the root of the site (for security reasons). I now want to do the reverse for the admin users to download the files I have tried the following but to no avail
I think maybe I need to add something to the conf file or the htaccess maybe - according to host permissions are ok!
Is absolute apths an option also??
$file=$_SERVER["DOCUMENT_ROOT"]. "/../uploads/".$filename;
I think maybe I need to add something to the conf file or the htaccess maybe - according to host permissions are ok!
Is absolute apths an option also??
$file=$_SERVER["DOCUMENT_ROOT"]. "/../uploads/".$filename;