RE: Re: uploading file outside WEB Root

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

 



On Fri, 2008-09-12 at 09:38 -0500, Boyd, Todd M. wrote:
> > -----Original Message-----
> > From: Luke [mailto:tinmachin3@xxxxxxxxxxxxxx]
> > Sent: Friday, September 12, 2008 7:16 AM
> > To: info@xxxxxxxxxxxxxxxxxx
> > Cc: php-general@xxxxxxxxxxxxx
> > Subject: Re:  Re: uploading file outside WEB Root
> > 
> > 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.
> 
> ---8<--- snip
> 
> AFAIK, there is no good way to accomplish this on a Windows system. You
> can map a network location to a drive, and you can even map a folder to
> a drive... but I've never seen any way to map something to a folder (or
> file). If there is a solution, it's probably a complex registry hack
> that MIGHT work with your version of Windows. 

<tirade>

Microsoft sucks because it doesn't have symbolic links.

</tirade>

;)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
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