Re: [PHP-DB] Log in multiple users to MySql

2005-03-12 Thread Jochem Maas
Mahmoud Badreddine wrote:
I authenticate users of my database with the Apache dialog box. I would 
like to know where do these values (usernames and passwords) get stored 
so that I can use this information to log in to the MySql database.
its not a DB related question, you should have posted at php-generals, well
actually you should have STFW but anyway the following should tell you what
you need to know:
$login = isset($_SERVER[ 'PHP_AUTH_USER' ]) ? $_SERVER[ 'PHP_AUTH_USER' ]: 
false;
$pass  = isset($_SERVER[ 'PHP_AUTH_PW' ])   ? $_SERVER[ 'PHP_AUTH_PW' ]: false;


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Log in multiple users to MySql

2005-03-11 Thread Mahmoud Badreddine
I authenticate users of my database with the Apache dialog box. I would like 
to know where do these values (usernames and passwords) get stored so that I 
can use this information to log in to the MySql database.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php