You are here: Re: Download-scriptto DL files outside the public_html folder « PHP Programming Language « IT news, forums, messages
Re: Download-scriptto DL files outside the public_html folder

Posted by Sanders Kaufman on 11/13/06 13:15

theSammy95@gmail.com wrote:
> I have a small Linux webserver, and want to find a (php) script
> that lets my users download files located outside of the public_html
> folder
>
> Anyone that knows how or have a readymade solution?
>
> Sammy


How about something like this:
"http://server/download.php?dir=root&file=command.com"

Then use the PHP file system features from within
Download.php to send the file to the requester.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация