RE: [PHP-DB] Determine AuthMySQL* directives in script?

2007-04-20 Thread Dwight Altman
, April 19, 2007 7:20 PM To: Dwight Altman Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Determine AuthMySQL* directives in script? Dwight Altman wrote: I only agree to it depending if I have to write my own function using a regular expression to parse the .htaccess file, but I was wondering

RE: [PHP-DB] Determine AuthMySQL* directives in script?

2007-04-20 Thread Dwight Altman
, Dwight -Original Message- From: Dwight Altman [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 9:32 AM To: php-db@lists.php.net Subject: RE: [PHP-DB] Determine AuthMySQL* directives in script? Cool alternative. We don't write .htaccess files like that though. Anyway, I

RE: [PHP-DB] Determine AuthMySQL* directives in script?

2007-04-19 Thread Dwight Altman
- From: Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 7:28 PM To: Dwight Altman Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Determine AuthMySQL* directives in script? Dwight Altman wrote: Is there an existing way via a function or variable to determine Apache

Re: [PHP-DB] Determine AuthMySQL* directives in script?

2007-04-19 Thread Chris
Dwight Altman wrote: I only agree to it depending if I have to write my own function using a regular expression to parse the .htaccess file, but I was wondering if it is already available from a PHP function or variable. In the .htaccess file, the AuthMySQLDB directive: 1) may not be present 2)

[PHP-DB] Determine AuthMySQL* directives in script?

2007-04-18 Thread Dwight Altman
Is there an existing way via a function or variable to determine Apache mod_auth_mysql directives (specifically AuthMySQLDB) in use for the current script? On our servers, some directories use a basic .htaccess file while some use a database under mod_auth_mysql while the latest user management

Re: [PHP-DB] Determine AuthMySQL* directives in script?

2007-04-18 Thread Chris
Dwight Altman wrote: Is there an existing way via a function or variable to determine Apache mod_auth_mysql directives (specifically AuthMySQLDB) in use for the current script? On our servers, some directories use a basic .htaccess file while some use a database under mod_auth_mysql while the