Re: Re: uploading file outside WEB Root

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

 



Could you use a symbolic link? If on Linux 'ln -s /fpath/foldername'?

Not sure how to do this on Windows

2008/9/1 Carlos Medina <info@xxxxxxxxxxxxxxxxxx>

> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Luke Slater

[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