Re: interact with .htaccess
| From: | Peter Berglund | Date: | Sun, 15 Jun 2003 14:32:37 +0000 |
| Subject: | Re: interact with .htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151580@lists.php.net to get a copy of this message | ||
ok, I change my question, how do I protect downloadable files from users
that are not valid?
without the use of htaccess?
"Peter Berglund" <peter_b@telia.com> skrev i meddelandet
news:20030615102836.9660.qmail@pb1.pair.com...
> I want to send user and password from php to a protected directory.
> For example: If I go directly to the directory I get a popup to enter user
> and password, the normallt way.
>
> But if I go through a php-script that checks if I'm a valid user from a
> database I will get access to the folder.
>
> So i need a way to send user/password from php to the .htaccess file.
>
>