You are here: Re: php - htaccess « PHP Programming Language « IT news, forums, messages
Re: php - htaccess

Posted by Geradeaus on 06/09/05 10:14

"chotiwallah" <chotiwallah@web.de> schreef in bericht
news:1118216549.071878.23350@g49g2000cwa.googlegroups.com...
> if i understand right you want to prevent people from downloading via a
> direct link in your download dir. two ways to prevent that:
>
> 1. put your downloads in a database
>
> 2. use .htaccess to deny any http access to download dir and have php
> read and deliver the downloads via the file system (which is not
> affected by .htaccess, as dmitry wrote already), using i. e. readfile()
>
> micha

thanks for your advice, how could I not think about that...

 

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

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