htaccess+php
    ~
Advanced Hosters -

Nikoshka
: 15.04.2007
: 159
# : 18, 2009 12:48 pm
, htaccess , htaccess:

:

<files *.rar>
deny from all
</files>
<files *.gzip>
deny from all
</files>



, :
:
$file = 'http://site.ru/files/123.rar';
header('Content-Disposition: attachment; filename="'.end(explode('/',$file)).'";');
readfile($file);



, html 403, . , 403?
2

egorych
: 09.05.2007
: 208
# : 18, 2009 2:56 pm
allow from localhost?
seo

Nikoshka
: 15.04.2007
: 159
# : 18, 2009 3:46 pm
egorych,
..

<files *.rar>
deny from all
allow from localhost
</files>
<files *.gzip>
deny from all
allow from localhost
</files>

, html
deny from all .. ?
2
    ~