Re: uploading file outside WEB Root

From: Date: Mon, 01 Sep 2008 10:40:51 +0000
Subject: Re: uploading file outside WEB Root
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-279210@lists.php.net to get a copy of this message
Angelo Zanetti schrieb:
Hi All, For security purposes I would like to upload a file outside the webroot. I have got this to work on my local dev machine but it doesn't seem to work on the live server. I have tried both the relative path and also the full path (from the $_SERVER[DOCUMENT_ROOT] variable). Now I can't get the upload to work and have no idea what the problem could be. I have also set the permissions of the folder, so that can't be a problem. Could it be a problem with server hosting restrictions? Or maybe the server is setup for virtual hosting? Thanks Angelo
Hi Angelo, dev and live are the same Server/Machine type? Restrictions on the Folder? ( Group restrictions, User Restrictions, etc) Exists the Folder on the Live System? Regards Carlos

« previous php.general (#279210) next »