Re: Download files outside DocumentRoot Dir

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

 



On Mon, September 25, 2006 3:57 pm, Christopher Weldon wrote:
> On 2:36 pm 09/25/06 "Ramiro Cavalcanti" <ramiro@xxxxxxxxxxxxxx> wrote:
>> Hi Christopher,
>> at first, thank you for your answer.
>>
>> I'd like to know if it's possible use this when php is running like
>> cgi (php-suexec). I've put this code at httpd.conf at <module php>,
>> then tryed to use it at .htaccess, but without successs.
>>
>> Thank you again.
>>
>
> Oh, in that case, you most definitely can't use the .htaccess
> conditions.
> PHP will have issues if you are running php-suexec.
>
> I'll see if I can think of any other ways around this, but php-suexec
> definitely limits your usage for this simple fix right now.

If you *want* that ugly HTTP Auth popup box, you can search on php.net
for code to do that.

If not, you can take that code, and replace the HTTP challenge with a
simple login form.

If they aren't logged in, the download just doesn't go...

-- 
Like Music?
http://l-i-e.com/artists.htm

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