ok, I change my question, how do I protect downloadable files from users that are not valid? without the use of htaccess?
"Peter Berglund" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > 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. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php