uploading file outside WEB Root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux