|
Posted by Jerry Stuckle on 10/29/79 11:43
Jose.Dr.G@gmail.com wrote:
> Hi,
>
> I've set up mod_auth_mysql to authenticate users to a mysql database.
> However, I would like to pass the credentials passed to the
> auth_mod_mysql module on to a php script. Is this possible?
>
Yes and no.
Apache sets the user name in $_SERVER['REMOTE_USER']. But the password, group
info, etc. are not passed on.
(Reference your follow up question) And no, you can't pass from a php script to
mod_auth_mysql. Apache authentication takes place long before any page is loaded.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|